Example #1
0
 public ApplicationRepo(IUserRepo userRepo, IStaffRepo staffRepo, ICtxRepo ctxRepo, IPositionRepo positionRepo, IFlightRequestHistoryRepo flightRequestHistoryRepo)
 {
     connectionString          = Config.DbConnectionString;
     _userRepo                 = userRepo;
     _staffRepo                = staffRepo;
     _ctxRepo                  = ctxRepo;
     _positionRepo             = positionRepo;
     _flightRequestHistoryRepo = flightRequestHistoryRepo;
 }
Example #2
0
 public CtxController(ICtxRepo ctxRepo, IPositionAssignRepo positionAssignRepo, IPositionRepo positionRepo)
 {
     _ctxRepo            = ctxRepo;
     _positionAssignRepo = positionAssignRepo;
     _positionRepo       = positionRepo;
 }
Example #3
0
 public ResignRepo(IUserRepo userRepo, ICtxRepo ctxRepo)
 {
     connectionString = Config.DbConnectionString;
     _userRepo        = userRepo;
     _ctxRepo         = ctxRepo;
 }