public ContainerTypesController(IContainerTypeService containerTypeService,
                                 IValidator <CreateContainerTypeRequestDto> createContainerTypeRequestDtoValidator,
                                 IMapper mapper) : base(mapper)
 {
     _containerTypeService = containerTypeService;
     _createContainerTypeRequestDtoValidator = createContainerTypeRequestDtoValidator;
 }
Пример #2
0
 public ContainerTypeController(IContainerTypeService containertypeService, ICommonService commonService)
 {
     this._containertypeService = containertypeService;
     _commonService             = commonService;
 }
 /// <summary>
 /// Конструктор с внедрением зависимости
 /// </summary>
 /// <param name="containerTypesService">Сервис для работы с типами контейнеров</param>
 public ContainerTypesController(IContainerTypeService containerTypesService)
 {
     _containerTypesService = containerTypesService;
 }
Пример #4
0
 /// <summary>
 /// Конструктор с внедрением зависимости
 /// </summary>
 /// <param name="containerTypeService">Сервис для работы с типами контейнера</param>
 public ContainerTypeApiController(IContainerTypeService containerTypeService)
 {
     this.containerTypeService = containerTypeService;
 }
 /// <summary>
 /// Конструктор с внедрением зависимости
 /// </summary>
 /// <param name="containertService">Сервис для работы с контейнерами</param>
 /// <param name="containerTypeService">Сервис работы с типами контейнеров</param>
 public ContainersController(IContainerService containertService, IContainerTypeService containerTypeService)
 {
     this._containertService    = containertService;
     this._containerTypeService = containerTypeService;
 }