Пример #1
0
 public CreateModel(ISparePartService sparePartService,
                    IAuthorizationService authorizationService)
 {
     _sparePartService     = sparePartService;
     _authorizationService = authorizationService;
 }
Пример #2
0
 public SparePartController(ISparePartService sparePartService, IMapper mapper)
 {
     _sparePartService = sparePartService;
     _mapper           = mapper;
 }
Пример #3
0
 public SparePartController(ISparePartService context)
 {
     db = context;
 }
Пример #4
0
 public SparePartController(ISparePartService service)
 {
     _service = service;
 }
 public SparePartsController(ISparePartService sparePartService,
                             IAuthorizationService authorizationService)
 {
     _authorizationService = authorizationService;
     _sparePartService     = sparePartService;
 }