public ClientController(IClientModules clientModules, ICarBodyServices carBody, ICarMarkServices carMark, ICarModelServices carModel, IClientsGroupsServices clientsGroupsServices) { _clientModules = clientModules; _carBody = carBody; _carMark = carMark; _carModel = carModel; _clientsGroups = clientsGroupsServices; }
public CarAdController( ICarAdServices carAdServices, ICarBrandServices brandServices, ICarModelServices carModelServices, ICarFeatureServices carFeatureServices, ITownServices townServices, IMapper mapper) { Guard.WhenArgument(carAdServices, "carAdServices").IsNull().Throw(); Guard.WhenArgument(brandServices, "brandServices").IsNull().Throw(); Guard.WhenArgument(carModelServices, "carModelServices").IsNull().Throw(); Guard.WhenArgument(carFeatureServices, "carFeatureServices").IsNull().Throw(); Guard.WhenArgument(townServices, "townServices").IsNull().Throw(); Guard.WhenArgument(mapper, "mapper").IsNull().Throw(); this.carAdServices = carAdServices; this.brandServices = brandServices; this.carModelServices = carModelServices; this.carFeatureServices = carFeatureServices; this.townServices = townServices; this.mapper = mapper; }
public AddClientJsonController(ICarMarkServices carMark, ICarModelServices carModel, IClientsOfCarWashServices clientsOfCarWash) { _carMark = carMark; _carModel = carModel; _clientsOfCarWash = clientsOfCarWash; }