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