public AuthController(
     IMessageExceptionFinder messageExceptionFinder,
     IWorkContext workContext,
     IMapper mapper) : base(messageExceptionFinder)
 {
     this.workContext = workContext;
     this.mapper      = mapper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GamesController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="gameService">The game service.</param>
 /// <param name="workContext">The work context.</param>
 public GamesController(
     IMessageExceptionFinder messageExceptionFinder,
     IGameService gameService,
     IWorkContext workContext) : base(messageExceptionFinder)
 {
     this.gameService = gameService;
     this.workContext = workContext;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportLikesController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="reportService">The report service.</param>
 /// <param name="workContext">The work context.</param>
 public ReportLikesController(
     IMessageExceptionFinder messageExceptionFinder,
     IReportService reportService,
     IWorkContext workContext) : base(messageExceptionFinder)
 {
     this.reportService = reportService;
     this.workContext   = workContext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UsersController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="userService">The user service.</param>
 /// <param name="workContext">The work context.</param>
 public UsersController(
     IMessageExceptionFinder messageExceptionFinder,
     IUserService userService,
     IWorkContext workContext) : base(messageExceptionFinder)
 {
     this.userService = userService;
     this.workContext = workContext;
 }
Example #5
0
 public LocationsController(
     IMessageExceptionFinder messageExceptionFinder,
     ILocationService locationService,
     IMapper mapper) : base(messageExceptionFinder)
 {
     this.locationService = locationService;
     this.mapper          = mapper;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SystemSettingsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="systemSettingService">The system setting service.</param>
 public SystemSettingsController(
     IMessageExceptionFinder messageExceptionFinder,
     IWorkContext workContext,
     ICoreSettingService systemSettingService) : base(messageExceptionFinder)
 {
     this.workContext          = workContext;
     this.systemSettingService = systemSettingService;
 }
Example #7
0
 public PlacesController(
     IMessageExceptionFinder messageExceptionFinder,
     IPlaceService placeService,
     IMapper mapper) : base(messageExceptionFinder)
 {
     this.placeService = placeService;
     this.mapper       = mapper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RoomsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="roomService">The room service.</param>
 public RoomsController(
     IMessageExceptionFinder messageExceptionFinder,
     IWorkContext workContext,
     IRoomService roomService) : base(messageExceptionFinder)
 {
     this.workContext = workContext;
     this.roomService = roomService;
 }
Example #9
0
 public RequestsController(
     IMessageExceptionFinder messageExceptionFinder,
     IRequestService requestService,
     IWorkContext context,
     IMapper mapper) : base(messageExceptionFinder)
 {
     this.requestService = requestService;
     this.mapper         = mapper;
     this.workContext    = context;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PasswordRecoveryController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="userService">The user service.</param>
 /// <param name="notificationService">The notification service.</param>
 /// <param name="seoService">The SEO service.</param>
 public PasswordRecoveryController(
     IMessageExceptionFinder messageExceptionFinder,
     IUserService userService,
     INotificationService notificationService,
     ISeoService seoService) : base(messageExceptionFinder)
 {
     this.userService         = userService;
     this.notificationService = notificationService;
     this.seoService          = seoService;
 }
Example #11
0
 public GuestsController(
     IMessageExceptionFinder messageExceptionFinder,
     IGuestService guestService,
     IMapper mapper,
     IWorkContext workContext) : base(messageExceptionFinder)
 {
     this.guestService = guestService;
     this.mapper       = mapper;
     this.workContext  = workContext;
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExternalAuthenticationController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="externalAuthenticationService">The external authentication service.</param>
 /// <param name="authenticationTokenGenerator">The authentication token generator.</param>
 /// <param name="securitySettings">The security settings.</param>
 public ExternalAuthenticationController(
     IMessageExceptionFinder messageExceptionFinder,
     IExternalAuthenticationService externalAuthenticationService,
     IAuthenticationTokenGenerator authenticationTokenGenerator,
     ISecuritySettings securitySettings) : base(messageExceptionFinder)
 {
     this.externalAuthenticationService = externalAuthenticationService;
     this.authenticationTokenGenerator  = authenticationTokenGenerator;
     this.securitySettings = securitySettings;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HostelBookingSourcesController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="hostelService">The hostel service.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="bookingSourceService">The booking source service.</param>
 public HostelBookingSourcesController(
     IMessageExceptionFinder messageExceptionFinder,
     IHostelService hostelService,
     IWorkContext workContext,
     IBookingSourceService bookingSourceService) : base(messageExceptionFinder)
 {
     this.hostelService        = hostelService;
     this.workContext          = workContext;
     this.bookingSourceService = bookingSourceService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CommentsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="commentService">The comment service.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="reportService">The report service.</param>
 public CommentsController(
     IMessageExceptionFinder messageExceptionFinder,
     ICommentService commentService,
     IWorkContext workContext,
     IReportService reportService) : base(messageExceptionFinder)
 {
     this.commentService = commentService;
     this.workContext    = workContext;
     this.reportService  = reportService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BookingsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="bookingService">The booking service.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="roomService">The room service.</param>
 /// <param name="loggerService">The logger service.</param>
 public BookingsController(
     IMessageExceptionFinder messageExceptionFinder,
     IBookingService bookingService,
     IWorkContext workContext,
     IRoomService roomService,
     ILoggerService loggerService) : base(messageExceptionFinder, bookingService)
 {
     this.workContext   = workContext;
     this.roomService   = roomService;
     this.loggerService = loggerService;
 }
Example #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AvailabilityController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="bookingService">The booking service.</param>
 /// <param name="roomService">The room service.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="hostelService">The hostel service.</param>
 public AvailabilityController(
     IMessageExceptionFinder messageExceptionFinder,
     IBookingService bookingService,
     IRoomService roomService,
     IWorkContext workContext,
     IHostelService hostelService) : base(messageExceptionFinder, bookingService)
 {
     this.roomService   = roomService;
     this.workContext   = workContext;
     this.hostelService = hostelService;
 }
 public UsersController(
     IMessageExceptionFinder messageExceptionFinder,
     IUserService userService,
     IWorkContext workContext,
     IWebCacheService webCacheService,
     IMapper mapper) : base(messageExceptionFinder)
 {
     this.userService     = userService;
     this.workContext     = workContext;
     this.webCacheService = webCacheService;
     this.mapper          = mapper;
 }
Example #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilesController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="seoHelper">The SEO helper.</param>
 /// <param name="filesHelper">The files helper.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="pictureService">The picture service.</param>
 public FilesController(
     IMessageExceptionFinder messageExceptionFinder,
     ISeoHelper seoHelper,
     IFilesHelper filesHelper,
     IFileService fileService,
     IPictureService pictureService) : base(messageExceptionFinder)
 {
     this.seoHelper      = seoHelper;
     this.filesHelper    = filesHelper;
     this.fileService    = fileService;
     this.pictureService = pictureService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="reportService">The report service.</param>
 /// <param name="filesHelper">The files helper.</param>
 /// <param name="generalSettings">The general settings.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="pictureService">The picture service.</param>
 /// <param name="fileService">the file service</param>
 public ReportsController(
     IMessageExceptionFinder messageExceptionFinder,
     IReportService reportService,
     IFilesHelper filesHelper,
     IGeneralSettings generalSettings,
     IWorkContext workContext,
     IPictureService pictureService,
     IFileService fileService) : base(messageExceptionFinder)
 {
     this.reportService   = reportService;
     this.filesHelper     = filesHelper;
     this.generalSettings = generalSettings;
     this.workContext     = workContext;
     this.pictureService  = pictureService;
     this.fileService     = fileService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BookingSourcesController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="bookingSourceService">The booking source service.</param>
 public BookingSourcesController(
     IMessageExceptionFinder messageExceptionFinder,
     IBookingSourceService bookingSourceService) : base(messageExceptionFinder)
 {
     this.bookingSourceService = bookingSourceService;
 }
 public GuestsController(IMessageExceptionFinder messageExceptionFinder) : base(messageExceptionFinder)
 {
 }
Example #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseApiController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 public BaseApiController(IMessageExceptionFinder messageExceptionFinder)
 {
     this.messageExceptionFinder = messageExceptionFinder;
 }
Example #23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BestScoresController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="gameService">The game service.</param>
 public BestScoresController(
     IMessageExceptionFinder messageExceptionFinder,
     IGameService gameService) : base(messageExceptionFinder)
 {
     this.gameService = gameService;
 }
Example #24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="notificationService">The notification service.</param>
 public NotificationsController(
     IMessageExceptionFinder messageExceptionFinder,
     INotificationService notificationService) : base(messageExceptionFinder)
 {
     this.notificationService = notificationService;
 }
Example #25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseBookingsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="bookingService">The booking service.</param>
 public BaseBookingsController(
     IMessageExceptionFinder messageExceptionFinder,
     IBookingService bookingService) : base(messageExceptionFinder)
 {
     this.BookingService = bookingService;
 }
Example #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogCleanerController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="logService">the log service</param>
 public LogCleanerController(
     IMessageExceptionFinder messageExceptionFinder,
     ILogService logService) : base(messageExceptionFinder)
 {
     this.logService = logService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WordsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="wordService">The word service.</param>
 public WordsController(
     IMessageExceptionFinder messageExceptionFinder,
     IWordService wordService) : base(messageExceptionFinder)
 {
     this.wordService = wordService;
 }
Example #28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="locationService">The location service.</param>
 public LocationsController(
     IMessageExceptionFinder messageExceptionFinder,
     ILocationService locationService) : base(messageExceptionFinder)
 {
     this.locationService = locationService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MenuOptionsController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="workContext">The work context.</param>
 public MenuOptionsController(
     IMessageExceptionFinder messageExceptionFinder,
     IWorkContext workContext) : base(messageExceptionFinder)
 {
     this.workContext = workContext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="workContext">The work context.</param>
 public AuthenticationController(
     IMessageExceptionFinder messageExceptionFinder,
     IWorkContext workContext) : base(messageExceptionFinder)
 {
     this.workContext = workContext;
 }