Browse Source

feat: Work calendar configuration change

pull/1536/head
colin 2 weeks ago
parent
commit
407d506453
  1. 4
      aspnet-core/framework/calendars/LINGYUN.Abp.Calendar/LINGYUN/Abp/Calendar/WorkdayCalendarService.cs

4
aspnet-core/framework/calendars/LINGYUN.Abp.Calendar/LINGYUN/Abp/Calendar/WorkdayCalendarService.cs

@ -12,10 +12,10 @@ public class WorkdayCalendarService : IWorkdayCalendarService, ITransientDepende
private readonly IWorkdayCalendarStore _workdayCalendarStore; private readonly IWorkdayCalendarStore _workdayCalendarStore;
public WorkdayCalendarService( public WorkdayCalendarService(
IOptions<AbpCalendarOptions> options, IOptionsMonitor<AbpCalendarOptions> options,
IWorkdayCalendarStore workdayCalendarStore) IWorkdayCalendarStore workdayCalendarStore)
{ {
_options = options.Value; _options = options.CurrentValue;
_workdayCalendarStore = workdayCalendarStore; _workdayCalendarStore = workdayCalendarStore;
} }

Loading…
Cancel
Save