public PolicePresentation( IPoliceRepository policeRepo, ICitizenRepository citizenRepo, IPoliceAcademyRepository policeAcademyRepo, IUserService userService, IViolationsRepository violationsRepository, IPoliceCallRepo policeCallRepo, IQuestionsRepo questionsRepo, IAnswerRepo answerRepo, IShiftRepo shiftRepo, IMapper mapper //, //IBlobService blobService ) { _policeRepo = policeRepo; _citizenRepo = citizenRepo; _policeAcademyRepo = policeAcademyRepo; _userService = userService; _violationsRepository = violationsRepository; _policeCallRepo = policeCallRepo; _questionsRepo = questionsRepo; _answerRepo = answerRepo; _mapper = mapper; //_blobService = blobService; _shiftRepo = shiftRepo; }
/// <summary> /// Shifts Controller /// </summary> /// <param name="shiftsRepo"></param> /// <param name="serviceScopeFactory"></param> public ShiftsController(IShiftRepo shiftsRepo, IServiceScopeFactory serviceScopeFactory) { _shiftsRepo = shiftsRepo; this.serviceScopeFactory = serviceScopeFactory; }
public ShiftService(IShiftRepo shiftRepository) { _shiftRepository = shiftRepository; }