public SpecialistsController(ISpecialistManagementService specialistManagementService, IMapFrom <SpecialistDTO, SpecialistForAddModel> specialistAddMapper, IMapFrom <SpecialistDTO, SpecialistForUpdateModel> specialistUpdateMapper) { this.specialistManagementService = specialistManagementService; this.specialistAddMapper = specialistAddMapper; this.specialistUpdateMapper = specialistUpdateMapper; }
public AdminController(ISpecialistManagementService specialistManagementService, IRequestManagementService requestsManagementService, IMapTo <RequestDTO, RequestDetailsViewModel> requestDetailsMapper, IMap <RequestDTO, RequestEditViewModel> requestEditMapper, IMap <SpecialistDTO, SpecialistViewModel> specialistMapper) { this.specialistManagementService = specialistManagementService; this.requestsManagementService = requestsManagementService; this.requestDetailsMapper = requestDetailsMapper; this.requestEditMapper = requestEditMapper; this.specialistMapper = specialistMapper; }