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 ApplyOvertimeRepository(DBContext dbContext, punchCardFunction fn, PunchCardRepository p_Repository) : base(dbContext)
 {
     this.psCode      = new punchStatusCode();
     this.punchCardFn = fn;
     this.pRepository = p_Repository;
 }
 public SetRuleController(SetRuleRepository repository, punchCardFunction fn,
                          IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
 {
     this.Repository  = repository;
     this.punchCardFn = fn;
 }
Example #5
0
 public AnnualLeaveRepository(DBContext dbContext, punchCardFunction fn) : base(dbContext)
 {
     calObj = new CalAnnualLeave(this);
 }
Example #6
0
        private string otRestName  = definePara.otRestName();   //"補休"


        public ApplySignRepository(DBContext dbContext, punchCardFunction fn) : base(dbContext)
        {
            this.psCode      = new punchStatusCode();
            this.punchCardFn = fn;
        }