public GuestController( IGuestService guestService , IGuestItineararyRequestService requestService , IItineararyService itineraryService , IMapper mapper) { if (guestService == null) { throw new ArgumentNullException(nameof(guestService)); } if (requestService == null) { throw new ArgumentNullException(nameof(requestService)); } if (itineraryService == null) { throw new ArgumentNullException(nameof(itineraryService)); } if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } this.guestService = guestService; this.requestService = requestService; this.itinerarryService = itineraryService; this.mapper = mapper; }
public GuestController(IGuestService guestService) { this.guestService = guestService; this.toModelMapper = new MapperConfiguration(cfg => cfg.CreateMap <GuestDTO, GuestModel>()).CreateMapper(); this.toDtoMapper = new MapperConfiguration(cfg => cfg.CreateMap <GuestModel, GuestDTO>()).CreateMapper(); guestValidator = new GuestValidator(); }
protected override void Dispose(bool disposing) { if (disposing && _guestReservationService != null) { _guestReservationService.Dispose(); _guestReservationService = null; } if (disposing && _employeeShiftService != null) { _employeeShiftService.Dispose(); _employeeShiftService = null; } if (disposing && _guestService != null) { _guestService.Dispose(); _guestService = null; } if (disposing && _personService != null) { _personService.Dispose(); _personService = null; } if (disposing && _tableItemService != null) { _tableItemService.Dispose(); _tableItemService = null; } base.Dispose(disposing); }
public PrintingController() { _personService = new PersonService(); _guestRoomAccountService = new GuestRoomAccountService(); _guestService = new GuestService(); _roomService = new RoomService(); }
public ReservationBuilder(IPromoCodeService promoCodeService, IGuestService guestService, IRoomGateway roomGateway) { _promoCodeService = promoCodeService; _guestService = guestService; _roomGateway = roomGateway; _reservationValidator = InitValidator(); }
public FacilityReservationController(IFacilityReservationService facilityReservationService, IPublicArea publicArea, IGuestService guestService, IAuthenticate authenticator) { _facilityReservationService = facilityReservationService; _publicArea = publicArea; _guestService = guestService; _authenticator = authenticator; }
public AccountController() { _employeeShiftService = new EmployeeShiftService(); _tableItemService = new TableItemService(); _guestService = new GuestService(); _personService = new PersonService(); _guestReservationService = new GuestReservationService(); }
public EventService(IRepository <Event> eventRepo, IUnitOfWork unitOfWork, IRepository <EventGuest> eventGuestRepo, IGuestService guestService, IRepository <Guest> guestRepo) { this.eventRepo = eventRepo; this.unitOfWork = unitOfWork; this.eventGuestRepo = eventGuestRepo; this.guestService = guestService; this.guestRepo = guestRepo; }
public GuestController(UserManager <ApplicationUser> userManager, IGuestService GuestService, ILogger <GuestController> logger) : base(userManager) { this._GuestService = GuestService; this._logger = logger; }
public TransportReservationController(IGuestService guestService, IShuttleServices shuttleService) { //Calling Mod 1 Team 9 Service - for getting guest _guestService = guestService; //Calling Mod 2 Team 2 Service - for checking availability of transport reservation _shuttleService = shuttleService; }
public HomeController() { _personService = new PersonService(); _roomService = new RoomService(); _guestService = new GuestService(); _guestReservationService = new GuestReservationService(); _guestRoomService = new GuestRoomService(); }
public EventsController(IEventService service, IUserService userService, IGuestService guestService) : base(service, userService) { _service = service; _userService = userService; _guestService = guestService; _participantsContext = new Participants(GlobalHost.ConnectionManager.GetHubContext <ParticipantsHub>()); }
public ProjectController(IProjectService projectService, IDataContext dataContext, ITagService tagService, ITimeStartService timeStartService, IGuestService guestService, IReportService reportService) { this.projectService = projectService; this.dataContext = dataContext; this.tagService = tagService; this.timeStartService = timeStartService; this.guestService = guestService; this.reportService = reportService; }
public GuestController( IGuestRepository guestRepository, IGuestService guestService, IMapper mapper ) { this.guestService = guestService; this.guestRepository = guestRepository; this.mapper = mapper; }
public GuestsController( IMessageExceptionFinder messageExceptionFinder, IGuestService guestService, IMapper mapper, IWorkContext workContext) : base(messageExceptionFinder) { this.guestService = guestService; this.mapper = mapper; this.workContext = workContext; }
public AccountController() { _employeeShiftService = new EmployeeShiftService(); _tableItemService = new TableItemService(); //int.TryParse(ConfigurationManager.AppSettings["HotelAccountsTime"].ToString(CultureInfo.InvariantCulture), out _hotelAccountsTime); _guestService = new GuestService(); _personService = new PersonService(); //_personTypeService = new PersonTypeService(); }
public GuestsController(IEfRepository <Guest> repository , IGuestService service , IMapper mapper , IPasswordHasher passwordHasher) { _repository = repository; _service = service; _mapper = mapper; _passwordHasher = passwordHasher; }
public GuestController() { _guestService = new GuestService(); _personService = new PersonService(); _movieService = new MovieService(); _posItemService = new POSItemService(); _taxiService = new TaxiService(); _adventureService = new AdventureService(); _movieCategoryService = new MovieCategoryService(); _guestPlaylistService = new GuestPlaylistService(); _escortService = new EscortService(); }
/// <summary> /// Ctor /// </summary> public FormsAuthenticationService(HttpContextBase httpContext , ICustomerService customerService , IAdminService adminService , IGuestService guestService , CustomerSettings customerSettings) { _httpContext = httpContext; _customerService = customerService; _adminService = adminService; _guestService = guestService; _expirationTimeSpan = FormsAuthentication.Timeout; _customerSettings = customerSettings; }
public ReservationService(IMapper mapper, ApplicationContext applicationContext, IGuestService guestService, IRoomService roomService, IUserService userService, IHotelService hotelService, IConfiguration configuration) { this.applicationContext = applicationContext; this.mapper = mapper; this.guestService = guestService; this.roomService = roomService; this.userService = userService; this.hotelService = hotelService; this.domainName = configuration.GetConnectionString("DomainName"); this.apiKey = configuration.GetConnectionString("ApiKey"); }
public HotelAdminController() { _personService = new PersonService(); _roomService = new RoomService(); _roomTypeService = new RoomTypeService(); _guestService = new GuestService(); _guestRoomService = new GuestRoomService(); _businessAccountService = new BusinessAccountService(); _guestReservationService = new GuestReservationService(); _transactionService = new TransactionService(); _guestRoomAccountService = new GuestRoomAccountService(); _roomStatusService = new RoomStatuService(); }
public CompanyAccountController() { int.TryParse(ConfigurationManager.AppSettings["HotelAccountsTime"].ToString(CultureInfo.InvariantCulture), out _hotelAccountsTime); _guestService = new GuestService(); _businessAccountService = new BusinessAccountService(); _roomService = new RoomService(); _guestRoomService = new GuestRoomService(); _guestReservationService = new GuestReservationService(); _guestRoomAccountService = new GuestRoomAccountService(); _personService = new PersonService(); _personTypeService = new PersonTypeService(); _businessAccountCorporateService = new BusinessCorporateAccountService(); _paymentService = new PaymentService(); }
public ReservationCreationController(IReservationService reservationService, IGuestService guestService, IPromoCodeService promoCodeService, IRoomGateway roomGateway, IReservationDirector reservationDirector) { // Mod 1 Team 4 Services _reservationService = reservationService; _promoCodeService = promoCodeService; _reservationDirector = reservationDirector; // Calling Mod 1 Team 9 Service - for guest details _guestService = guestService; // Calling Mod 1 Team 6 Room Service - for room instance _roomGateway = roomGateway; }
internal GuestHandle(IGuestService guestService, IAdminService adminService, IUserService userService) { if (guestService == null) { throw new ArgumentNullException("guestService"); } if (adminService == null) { throw new ArgumentNullException("adminService"); } if (userService == null) { throw new ArgumentNullException("userService"); } _guestService = guestService; _adminService = adminService; _userService = userService; }
public ReservationManagementController(IReservationService reservationService, IPromoCodeService promoCodeService, IGuestService guestService, IRoomGateway roomGateway, iReservationInvoice iReservationInvoice, IAuthenticate authenticate) { _reservationService = reservationService; _promoCodeService = promoCodeService; // Calling Mod 1 Team 9 Service - for guest details _guestService = guestService; // Call Mod 1 Team 6 Room Service - for room instance _roomGateway = roomGateway; // Calling Mod 1 Team 6 Authentication Service - for authentication of secret pin _authenticate = authenticate; // Call Mod 2 Team 7 ReservationInvoice Service - for payment of cancellation _iReservationInvoice = iReservationInvoice; // Validator has to init last _reservationValidator = new ReservationValidator(_promoCodeService, _guestService, _roomGateway); }
public ExcelService(IGuestService guestService) { _guestService = guestService; }
public PaymentController(IPaymentService paymentService, IGuestService guestService, IReservationService reservationService) { this.paymentService = paymentService; this.guestService = guestService; this.reservationService = reservationService; }
public HomeController(IGuestService guestService, IWorkshopService workshopService, IWorkshopGuestService workshopGuestService) { _guestService = guestService; _workshopService = workshopService; _workshopGuestService = workshopGuestService; }
public GuestController(IGuestService service) { _service = service; }
public GuestPermission(IGuestService guestService) { this.guestService = guestService; }
public GuestsController(IGuestService GuestService) { _GuestService = GuestService; }
public GuestController(IGuestService guestService, IAuthenticate authenticator) { _guestService = guestService; _authenticator = authenticator; }
public IsGuestExistAttribute(IGuestService guestService) { this.guestService = guestService; ErrorMessage = "Guest with such id does not exist"; }
public HomeController(IGuestService guestService) { _guestService = guestService; }
public QrController(IGuestService guestService) { _guestService = guestService; }
public GuestsController(IGuestService service, IUserService users) : base(service, users) { _service = service; }
public GuestController(IGuestService guestService, IQrCodeGenerator qrCodeGenerator, IPdfService pdfService) { _guestService = guestService; _qrCodeGenerator = qrCodeGenerator; _pdfService = pdfService; }