public ServiceRequestsController(IMapper mapper, IUnitOfWork unitOfWork, IKudosShopService kudosShopService, IPermissionService permissionService, IServiceRequestService serviceRequestService, IServiceRequestExportService serviceRequestExportService) { _categoryRepository = unitOfWork.GetRepository <ServiceRequestCategory>(); _priorityRepository = unitOfWork.GetRepository <ServiceRequestPriority>(); _statusRepository = unitOfWork.GetRepository <ServiceRequestStatus>(); _commentRepository = unitOfWork.GetRepository <ServiceRequestComment>(); _serviceRequestRepository = unitOfWork.GetRepository <ServiceRequest>(); _kudosShopService = kudosShopService; _permissionService = permissionService; _serviceRequestService = serviceRequestService; _serviceRequestExportService = serviceRequestExportService; _uow = unitOfWork; _mapper = mapper; }
public KudosShopController(IMapper mapper, IKudosShopService kudosShopService) { _mapper = mapper; _kudosShopService = kudosShopService; }