public HomeController(ICarService carService, ILocationService locationService, ICarUploadService carUploadService, IEmailService emailService) { _carService = carService; _locationService = locationService; _carUploadService = carUploadService; _emailService = emailService; }
public CarService(dbCarRentalContext context, IAppLogger <CarService> logger, IGenericRepository <Car> genericRepository, IHostingEnvironment env, ICarUploadService carUploadService) { _context = context; _logger = logger; _genericRepository = genericRepository; _env = env; _carUploadService = carUploadService; }
public CarController(ICarService carService, UserManager <IdentityUser> userManager, IGenericRepository <Car> genericRepository, IBrandService brandService, IModelService modelService, IFuelTypeService fuelTypeService, ILocationService locationService, ICarUploadService carUploadService) { _carService = carService; _userManager = userManager; _genericRepository = genericRepository; _brandService = brandService; _modelService = modelService; _fuelTypeService = fuelTypeService; _locationService = locationService; _carUploadService = carUploadService; }
public BookingController(IBookingService bookingService, IUserService userService, ILocationService locationService, ICarUploadService carUploadService, IBrandService brandService, IFuelTypeService fuelTypeService, ITransmisionTypeService transmisionTypeService, IModelService modelService, IPreBookingService preBookingService, UserManager <IdentityUser> userManager, IGenericRepository <Booking> genericRepository, IEmailService emailService) { _bookingService = bookingService; _userService = userService; _locationService = locationService; _carUploadService = carUploadService; _brandService = brandService; _fuelTypeService = fuelTypeService; _transmisionTypeService = transmisionTypeService; _modelService = modelService; _preBookingService = preBookingService; _userManager = userManager; _genericRepository = genericRepository; _emailService = emailService; }