public CommercialsController(IMapper mapper, IConfiguration config, ICommercialService commercialService, ISecurityService securityService)
 {
     _mapper            = mapper;
     _config            = config;
     _commercialService = commercialService;
     _securityService   = securityService;
 }
Пример #2
0
 public CommercialController(ICommercialService commercialProvider)
 {
     if (commercialProvider == null)
     {
         throw new NullReferenceException(nameof(commercialProvider));
     }
     _commercialProvider = commercialProvider;
 }
 public CommercialController(
     ICommercialService service)
 {
     _commercialService = service;
 }
Пример #4
0
 public CommercialManager(IVehicleServiceService vehicleService, ICommercialService commercialService)
 {
     this.vehicleService    = vehicleService;
     this.commercialService = commercialService;
 }