add service
This commit is contained in:
parent
e08dc350fe
commit
463d439a1a
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue