public IncidenceTypeDepartmentController(IIncidenceTypeDepartmentRepository itdRepo, IMapper mapper, IUnitofWork unitOfWork, IUserRepository userRepo) { _itdRepo = itdRepo; _mapper = mapper; _unitOfWork = unitOfWork; _userRepo = userRepo; }
public IncidenceController(IMapper mapper, IIncidenceRepository repository, IUnitofWork unitOfWork, IUserRepository userRepo, INotificationRepository notificationRepo, ISettingsRepository settingsRepo, IHostingEnvironment host, IPhotoService photoService, IIncidenceTypeDepartmentRepository incidenceTypeDeptRepo) { _host = host; this.mapper = mapper; this.repository = repository; this.unitOfWork = unitOfWork; _userRepo = userRepo; _notificationRepo = notificationRepo; _settingsRepo = settingsRepo; _photoService = photoService; _incidenceTypeDeptRepo = incidenceTypeDeptRepo; }