public PriceListController(IPricePerPeopleRepository pricePerPeopleRepository, IObjectForRentRepository objectForRentRepositorytory) { PriceListViewModel = new PriceListViewModel(); PriceListViewModel.PricePerPeople = new PricePerPeople(); _pricePerPeopleRepository = pricePerPeopleRepository; _objectForRentRepositorytory = objectForRentRepositorytory; }
public ReservationsController(IReservationRepository reservationRepository, IPricePerPeopleRepository pricePerPeopleRepository, ICustomerRepository customerRepository, IObjectForRentRepository objectForRentRepositorytory, BookingAppContext context) { _reservationRepository = reservationRepository; _objectForRentRepositorytory = objectForRentRepositorytory; _customerRepository = customerRepository; _pricePerPeopleRepository = pricePerPeopleRepository; GetObjectAndCustomersAsync(); }
public ObjectForRentsController(IObjectForRentRepository objectForRentRepositorytory, IPricePerPeopleRepository pricePerPeopleRepository) { _objectForRentRepositorytory = objectForRentRepositorytory; }