Ejemplo n.º 1
0
 public CalWorkTime(PunchCardRepository repository, ApplyOvertimeRepository applyRepository,
                    IHttpContextAccessor httpContextAccessor)
 {
     this.Repository  = repository;
     this.aRepository = applyRepository;
     this.punchCardFn = new punchCardFunction(repository, httpContextAccessor);
     psCode           = new punchStatusCode();
 }
Ejemplo n.º 2
0
 public AdminFnController(AdminFnRepository a_repository, MasterRepository m_repository,
                          PunchCardRepository p_repository, AnnualLeaveRepository al_repository,
                          ApplyOvertimeRepository ap_repository,
                          IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
 {
     this.aRepository = a_repository;
     this.mRepository = m_repository;
     this.pRepository = p_repository;
     this.chkWarn     = new ChkPunchLogWarn(p_repository, httpContextAccessor);
     this.calTime     = new CalWorkTime(p_repository, ap_repository, httpContextAccessor);
     this.calAnnual   = new CalAnnualLeave(al_repository);
 }
 public ApplyOvertimeController(ApplyOvertimeRepository repository,
                                IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
 {
     this.Repository = repository;
 }
 public countWorkTimeJob(PunchCardRepository repository, ApplyOvertimeRepository aRepository,
                         IHttpContextAccessor httpContextAccessor)
 {
     this.calTime = new CalWorkTime(repository, aRepository, httpContextAccessor);
 }