public PunchCardController(PunchCardRepository repository, punchCardFunction fn, IHttpContextAccessor httpContextAccessor, ApplySignRepository a_repository) : base(httpContextAccessor) { this.Repository = repository; this.punchCardFn = fn; this.aRepository = a_repository; }
public ApplyLeaveController(ApplySignRepository repository, PunchCardRepository repository02, IHttpContextAccessor httpContextAccessor, punchCardFunction fn) : base(httpContextAccessor) { this.Repository = repository; this.RepositoryPunch = repository02; this.punchCardFn = fn; }
public ExportXlsxController(ExportXlsxRepository repository, PunchCardRepository repository02, IHttpContextAccessor httpContextAccessor, IWebHostEnvironment hostingEnvironment) : base(httpContextAccessor) { xlsxFn = new exportPunchLogFunction(repository, repository02, httpContextAccessor); this._hostingEnvironment = hostingEnvironment; this.Repository = repository; }
public CalWorkTime(PunchCardRepository repository, ApplyOvertimeRepository applyRepository, IHttpContextAccessor httpContextAccessor) { this.Repository = repository; this.aRepository = applyRepository; this.punchCardFn = new punchCardFunction(repository, httpContextAccessor); psCode = new punchStatusCode(); }
public punchCardFunction(PunchCardRepository repository, IHttpContextAccessor httpContextAccessor) { this.Repository = repository; if (httpContextAccessor.HttpContext != null) { this._session = httpContextAccessor.HttpContext.Session; this.loginID = _session.GetInt32("loginID"); this.loginDepartmentID = _session.GetInt32("loginDepartmentID"); } this.psCode = new punchStatusCode(); }
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 RefreshPunchLogWarnJob(PunchCardRepository repository, IHttpContextAccessor httpContextAccessor) { this.chkWarn = new ChkPunchLogWarn(repository, httpContextAccessor); }
public ChkPunchLogWarn(PunchCardRepository repository, IHttpContextAccessor httpContextAccessor) { this.Repository = repository; this.punchCardFn = new punchCardFunction(repository, httpContextAccessor); }
public countWorkTimeJob(PunchCardRepository repository, ApplyOvertimeRepository aRepository, IHttpContextAccessor httpContextAccessor) { this.calTime = new CalWorkTime(repository, aRepository, httpContextAccessor); }