Esempio n. 1
0
 public GiftCardController(IGiftCardRepository giftcards,
                           IAuthRepository auth,
                           IRestaurantRepository restaurant,
                           ICityRepository city,
                           IHelper helper,
                           ICustomerRepository customers,
                           IGiftCardTypeRepository giftCardTypes)
 {
     this._auth          = auth;
     this._customers     = customers;
     this._giftcards     = giftcards;
     this._giftCardTypes = giftCardTypes;
     this._helper        = helper;
     this._restaurant    = restaurant;
     this._city          = city;
 }
Esempio n. 2
0
 public ReportController(IOrderRepository orders,
                         IReservationRepository reservations,
                         IGiftCardRepository giftcards,
                         IAuthRepository auth,
                         ICustomerRepository customers,
                         IOrderTypeRepository orderTypes,
                         IReservationStatusRepository reservationStatuses,
                         IGiftCardRepository giftCards,
                         IGiftCardTypeRepository giftCardTypes,
                         IHelper helper)
 {
     this._orders              = orders;
     this._reservations        = reservations;
     this._giftcards           = giftcards;
     this._helper              = helper;
     this._auth                = auth;
     this._customers           = customers;
     this._orderTypes          = orderTypes;
     this._reservationStatuses = reservationStatuses;
     this._giftcards           = giftcards;
     this._giftCardTypes       = giftCardTypes;
 }