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