public ParkingSettingController( IParkingSettingService parkingSettingService, IMapper mapper, IOptions <AppSettings> appSettings) { _parkingSettingService = parkingSettingService; _mapper = mapper; _appSettings = appSettings.Value; }
public BookingController( IParkingSettingService parkingSettingService, IBookingService bookingService, IPriceService priceService, IMapper mapper, IOptions <AppSettings> appSettings) { _parkingSettingService = parkingSettingService; _bookingService = bookingService; _priceService = priceService; _mapper = mapper; _appSettings = appSettings.Value; }