public CspDepartmentsStorage(
            Func <ArcadiaCspContext> contextFactory,
            CspConfiguration configuration)
        {
            this.contextFactory = contextFactory;
            this.configuration  = configuration;

            Context.ActorOf(CspVacationsRegistry.CreateProps(), "csp-vacations-registry");
            Context.ActorOf(VacationAccountingReadyReminderActor.CreateProps(), "csp-vacations-reminder");
            Context.ActorOf(VacationsPendingActionsRefreshActor.CreateProps(), "vacations-pending-actions-refresh");

            Context.ActorOf(CspSickLeavesRegistry.CreateProps(), "csp-sick-leaves-registry");
            Context.ActorOf(SickLeaveEndingReminderActor.CreateProps(), "csp-sick-leaves-reminder");

            Context.ActorOf(SharepointActor.CreateProps(), "csp-sharepoint-actor");
        }
 public CspEmployeesInfoStorage(Func <ArcadiaCspContext> contextFactory, CspConfiguration cspConfiguration)
 {
     this.contextFactory   = contextFactory;
     this.cspConfiguration = cspConfiguration;
 }
 public CspDepartmentsStorage(Func <ArcadiaCspContext> contextFactory, CspConfiguration configuration)
 {
     this.contextFactory = contextFactory;
     this.configuration  = configuration;
 }
Пример #4
0
 public CspEmployeeQuery(ArcadiaCspContext ctx, CspConfiguration cspConfiguration)
 {
     this.ctx = ctx;
     this.cspConfiguration = cspConfiguration;
 }