public PhotosController(IVehiclePhotoRepository vehiclePhotoRepository, IHostingEnvironment host, IVehicleRepository repository, IUnitOfWork unitOfWork, IMapper mapper) { this.mapper = mapper; this.unitOfWork = unitOfWork; this.repository = repository; this.host = host; this.vehiclePhotoRepository = vehiclePhotoRepository; }
public PopulateSampleData(IVehicleRepository vehicles, IVehiclePhotoRepository photos, IUserRepository users, IReminderRepository reminders, IFillupRepository fillups) { _vehicles = vehicles; _photos = photos; _users = users; _reminders = reminders; _fillups = fillups; }
public PhotoController(IHostingEnvironment host, IVehicleDetailsRepository vehicleDetailsRepo, IUnitOfWork uow, IOptionsSnapshot <PhotoSettings> options, IMapper mapper, IVehiclePhotoRepository vehiclePhotoRepo) { _host = host; _vehicleDetailsRepo = vehicleDetailsRepo; _vehiclePhotoRepo = vehiclePhotoRepo; _uow = uow; photoSettings = options.Value; _mapper = mapper; }
public CreateVehicle(IVehicleRepository vehicleRepository, IVehiclePhotoRepository photoRepository) { _vehicleRepository = vehicleRepository; _photoRepository = photoRepository; }
public GetVehiclePhoto(IVehiclePhotoRepository photoRepository) { _photoRepository = photoRepository; }
public UpdateVehicle(IVehicleRepository vehicleRepository, IVehiclePhotoRepository photoRepository) { _vehicleRepository = vehicleRepository; _photoRepository = photoRepository; }