public ReservationService(IReservationRepository reservations, IUserRepository users,
                           IResourceRepository resources, IReservationStatusRepository statuses, IMapper mapper)
 {
     _reservations = reservations;
     _users        = users;
     _resources    = resources;
     _statuses     = statuses;
     _mapper       = mapper;
 }
 public UnitOfWork(SixtReservationContext context,
                   IBranchRepository branchRepository,
                   IUserRepository userRepository,
                   IRoleRepository roleRepository,
                   IJobTitleRepository jobTitleRepository,
                   IReasonRepository reasonRepository,
                   IQuestionRepository questionRepository,
                   IReservationStatusRepository reservationStatusRepository,
                   IStatusStepRepository statusStepRepository,
                   IRateSegmentRepository rateSegmentRepository,
                   IRateSegmentCategoryRepository RateSegmentCategoryRepository,
                   INotificationSettingRepository notificationSettingRepository,
                   IPermissionRepository permissionRepository,
                   ICustomerRepository customerRepository,
                   IUploadLogRepository uploadLogRepository,
                   IReservationRepository reservationRepository,
                   IReservationHistoryRepository reservationHistoryRepository,
                   IActionSettingRepository actionSettingRepository,
                   IWeekDayRepository weekDayRepository,
                   INotificationRepository notificationRepository,
                   IReservationStepLogRepository reservationStepLogRepository,
                   IVReservationLogRepository vReservationLogRepository,
                   IReservationAssignmentRepository reservationAssinmentRepository,
                   IFormSubmittedRepository formSubmittedRepository,
                   IVReservationListRepository vReservationListRepository,
                   IEmailSettingRepository emailSettingRepository,
                   IVReservationHistoryRepository vReservationHistoryRepository
                   )
 {
     _context                = context;
     BranchBL                = branchRepository;
     UserBL                  = userRepository;
     RoleBL                  = roleRepository;
     JobTitleBL              = jobTitleRepository;
     ReasonBL                = reasonRepository;
     QuestionBL              = questionRepository;
     ReservationStatusBL     = reservationStatusRepository;
     StatusStepBL            = statusStepRepository;
     NotificationSettingBL   = notificationSettingRepository;
     RateSegmentBL           = rateSegmentRepository;
     RateSegmentCategoryBL   = RateSegmentCategoryRepository;
     PermissionBL            = permissionRepository;
     CustomerBL              = customerRepository;
     UploadLogBL             = uploadLogRepository;
     ReservationBL           = reservationRepository;
     ReservationHistoryBL    = reservationHistoryRepository;
     ActionSettingBL         = actionSettingRepository;
     WeekDayBL               = weekDayRepository;
     NotificationBL          = notificationRepository;
     ReservationStepLogBL    = reservationStepLogRepository;
     VReservationLogBL       = vReservationLogRepository;
     ReservationAssignmentBL = reservationAssinmentRepository;
     FormSubmittedBL         = formSubmittedRepository;
     VReservationListBL      = vReservationListRepository;
     EmailSettingBL          = emailSettingRepository;
     VReservationHistoryBL   = vReservationHistoryRepository;
 }
 public ReservationController(IReservationRepository res,
                              IAuthRepository auth,
                              IHelper helper,
                              IRestaurantRepository restaurant,
                              ICityRepository city,
                              ICustomerRepository customers,
                              IReservationStatusRepository statuses)
 {
     this._auth         = auth;
     this._customers    = customers;
     this._helper       = helper;
     this._restaurant   = restaurant;
     this._city         = city;
     this._reservations = res;
     this._statuses     = statuses;
 }
Esempio n. 4
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;
 }