public MissedEventRequestRepository(AttendanceSystemContext db)
 {
     this.db = db;
     this.workingDayRepository = new WorkingDayRepository(db);
     this.userEventRepository  = new UserEventRepository(db);
 }
 public EditEventRequestRepository(AttendanceSystemContext context)
 {
     db = context;
     workingDayRepository = new WorkingDayRepository(context);
     userEventRepository  = new UserEventRepository(context);
 }
コード例 #3
0
 public UserEventRepository(AttendanceSystemContext context)
 {
     db = context;
     workingDayRepository = new WorkingDayRepository(context);
     vacationRepository   = new VacationRepository(context);
 }