public VehicleinfoController(IHostingEnvironment appEnvironment, IVehicleInfoRepository carInfoRepo, IFileService _fileService, IMapper mapper) { _appEnvironment = appEnvironment; fileService = _fileService; _mapper = mapper; _vehicleinfoRepo = carInfoRepo; }
public SettingController(IAdditionalServiceRepo additionalServiceRepo, IVehicleRentRepo vehicleRentRepo, IVehicleInfoRepository vehicleInforepo, IMapper mapper, IPlaceRepo placeRepo, IVehicleServiceRepo vehicleServiceRepo) { _AdditionalServiceRepo = additionalServiceRepo; _mapper = mapper; _vehicleServiceRepo = vehicleServiceRepo; _vehicleinfoRepo = vehicleInforepo; _placeRepo = placeRepo; _vehiclerentRepo = vehicleRentRepo; }
public RDWController(ILogger <RDWController> logger, IVehicleInfoRepository vehicleInfoRepository, DaprClient daprClient) { _logger = logger; _vehicleInfoRepository = vehicleInfoRepository; // get API key var apiKeySecret = daprClient.GetSecretAsync("local-secret-store", "rdw-api-key", new Dictionary <string, string> { { "namespace", "dapr-trafficcontrol" } }).Result; _expectedAPIKey = apiKeySecret["rdw-api-key"]; }
public HomeController( IVehicleInfoRepository vehicleInfoRepository, IVehicleServiceRepo vehicleServiceRepo, IPlaceRepo placeRepo, IMapper mapper, IReservationInfosRepo reservationInfosRepo, IEmailAppService emailAppService) { _vehicleInfoRepository = vehicleInfoRepository; _placeRepo = placeRepo; _mapper = mapper; _vehicleServiceRepo = vehicleServiceRepo; _emailAppService = emailAppService; _reservationInfosRepo = reservationInfosRepo; }
public RDWController(ILogger <RDWController> logger, IVehicleInfoRepository vehicleInfoRepository) { _logger = logger; _vehicleInfoRepository = vehicleInfoRepository; }
public VehicleInfoService(IUnitOfWork unitofwork, IVehicleInfoRepository vehicleInfoRepository, IVehicleTypeRepository vehicleTypeRepository) { _unitofwork = unitofwork; _vehicleInfoRepository = vehicleInfoRepository; _vehicleTypeRepository = vehicleTypeRepository; }