add service

This commit is contained in:
kittapath 2025-09-14 22:01:39 +07:00
parent e08dc350fe
commit 463d439a1a

View file

@ -22,6 +22,7 @@ using BMA.EHR.Leave.Service.Filters;
using Hangfire.Common;
using BMA.EHR.Application.Repositories.Leaves.TimeAttendants;
using BMA.EHR.Leave.Service.Extensions;
using BMA.EHR.Leave.Service.Services;
var builder = WebApplication.CreateBuilder(args);
// ตั้ง TimeZone เป็น Asia/Bangkok ในโค้ด
@ -93,6 +94,7 @@ builder.Services.AddApplication();
builder.Services.AddLeaveApplication();
builder.Services.AddPersistence(builder.Configuration);
builder.Services.AddLeavePersistence(builder.Configuration);
builder.Services.AddTransient<HolidayService>();
builder.Services.AddHttpClient();