Example #1
0
 public VehicleinfoController(IHostingEnvironment appEnvironment, IVehicleInfoRepository carInfoRepo, IFileService _fileService, IMapper mapper)
 {
     _appEnvironment  = appEnvironment;
     fileService      = _fileService;
     _mapper          = mapper;
     _vehicleinfoRepo = carInfoRepo;
 }
Example #2
0
 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;
 }
Example #3
0
        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"];
        }
Example #4
0
 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;
 }
Example #5
0
 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;
 }