public ReservationService(IMapper mapper, IReservationRepository reservationRepository, IRoomsService roomsService, IEmailService emailService) { _mapper = mapper; _reservationRepository = reservationRepository; _roomsService = roomsService; _emailService = emailService; }
public AddRoomPresenter(IAddRoomView view, IRoomFactory roomFactory, IRoomsService roomsService, IImageUploader imageUploader) : base(view) { if (roomsService == null) { throw new ArgumentNullException("Rooms service cannot be null."); } if (roomFactory == null) { throw new ArgumentNullException("Room factory cannot be null."); } if (imageUploader == null) { throw new ArgumentNullException("Image uploader cannot be null."); } this.roomsService = roomsService; this.roomFactory = roomFactory; this.imageUploader = imageUploader; this.View.AddingRoom += OnAddingRoom; this.View.UploadingImage += OnUploadingImage; }
public RoomsController( IRoomsService roomsService, IMapper mapper) { _roomsService = roomsService; _mapper = mapper; }
// ICustomerService sp; public UserController() { this.userservice = Injector.Container.Resolve <IUserService>(); this.roomservice = Injector.Container.Resolve <IRoomsService>(); this.customerservice = Injector.Container.Resolve <ICustomerService>(); this.contactservice = Injector.Container.Resolve <IContactService>(); }
// ICustomerService sp; public UserController() { this.service = Injector.Container.Resolve <IUserService>(); this.room = Injector.Container.Resolve <IRoomsService>(); this.s = Injector.Container.Resolve <ICustomerService>(); // this.sp = Injector.Container.Resolve<ICustomerService>(); }
public RoomsController( IRoomsService roomsService, IRoomTypesService roomTypesService) { this.roomsService = roomsService; this.roomTypesService = roomTypesService; }
public EditProductPresenter(IEditProductView view, IProductsService productsService, ICategoriesService categoriesService, IRoomsService roomsService, IImageUploader imageUploader) : base(view) { if (productsService == null) { throw new ArgumentNullException("Products service cannot be null."); } if (categoriesService == null) { throw new ArgumentNullException("Categories service cannot be null."); } if (roomsService == null) { throw new ArgumentNullException("Rooms service cannot be null."); } if (imageUploader == null) { throw new ArgumentNullException("Image uploader cannot be null."); } this.productsServices = productsService; this.categoriesServices = categoriesService; this.roomsServices = roomsService; this.imageUploader = imageUploader; this.View.Initial += OnInitial; this.View.EdittingProduct += OnEdittingProduct; this.View.UploadingImage += OnUploadingImage; }
public Real() { authenticationService = new AuthenticationService(); profileService = new ProfileService(); roomService = new RoomsService(); _cache = CommonCache.Instance; }
public RoomsController(IMapper mapper) { this.mapper = mapper; roomsService = ServiceProxy.Create <IRoomsService>( new Uri("fabric:/AffittaCamere/RoomsStateful") , new Microsoft.ServiceFabric.Services.Client.ServicePartitionKey(0)); }
public RoomController() { _roomsService = new RoomsService(); _centroRepository = new CentroRepository(); _centroService = new CentroService(_centroRepository); _usuarioRepository = new UsuarioRepository(); _usuarioService = new UsuarioService(_usuarioRepository); }
public RoomsController( IRoomsService roomsService, IRoomTypesService roomTypesService, UserManager <ApplicationUser> userManager) { this.roomsService = roomsService; this.roomTypesService = roomTypesService; this.userManager = userManager; }
public ContestsController( IContestsService contestsService, IRoomsService roomsService, UserManager <ApplicationUser> userManager) { this.contestsService = contestsService; this.roomsService = roomsService; this.userManager = userManager; }
public ReservedRoomsViewComponent( IReservationsService reservationsService, IRoomsService roomsService, IRoomTypesService roomTypesService) { this.reservationsService = reservationsService; this.roomsService = roomsService; this.roomTypesService = roomTypesService; }
public BaseFooCalculator(IConfirmBookingService confirmBookingService, IFeaturesService featuresService, IInitialResponseService initialResponseService, IRoomsFeatureService roomsFeatureService, IRoomsService roomsService) { _confirmBookingService = confirmBookingService; _featuresService = featuresService; _initialResponseService = initialResponseService; _roomsFeatureService = roomsFeatureService; _roomsService = roomsService; }
public MediaController( IUsersService users, IRoomsService rooms, IMapper mapper) { this.Users = users; this.Rooms = rooms; this.Mapper = mapper; }
public ReservationsController( IReservationsService reservationsService, UserManager <ApplicationUser> userManager, IRoomsService roomsService) { this.reservationsService = reservationsService; this.userManager = userManager; this.roomsService = roomsService; }
public ReservationsController( IRestaurantService restaurantService, IConferenceHallService conferenceHallService, IRoomsService roomsService) { this.restaurantService = restaurantService; this.conferenceHallService = conferenceHallService; this.roomsService = roomsService; }
public DashboardController( ISettingsService settingsService, IReservationsService reservationsService, IRoomsService roomsService) { this.settingsService = settingsService; this.reservationsService = reservationsService; this.roomsService = roomsService; }
public RoomsIntegrationTest(TestServerFixture fixture) : base(fixture) { game_service = fixture.GetService <IGamesService>(); service = fixture.GetService <IRoomsService>(); dbContext = fixture.GetService <AppDbContext>(); games_controller = new GamesController(game_service); controller = new RoomsController(service); _authenticationService = GetService <IAuthenticationService>(); authController = new AuthenticationController(_authenticationService); }
public RoomController( IRoomsService roomsService, IDeletableEntityRepository <Room> repository, IUsersService usersService, IDeletableEntityRepository <Picture> picturesRepository) { this.roomsService = roomsService; this.repository = repository; this.usersService = usersService; this.picturesRepository = picturesRepository; }
public FurnitureRoomsPresenter(IFurnitureRoomsView view, IRoomsService roomsService) : base(view) { if (roomsService == null) { throw new ArgumentNullException("Rooms service cannot be null."); } this.roomsService = roomsService; this.View.ListingFurnitureRooms += OnListingProductsRooms; }
public Chat( ILoggerService loggerService, IChatConnectionsService chatConnectionsService, IRoomsService roomsService, UserManager <AspNetUsers> userManager) { _loggerService = loggerService; _chatConnectionsService = chatConnectionsService; _roomsService = roomsService; _userManager = userManager; }
public RoomsController( IRoomsService roomsService, IGroupRoomsService groupRoomsService, IIdentityService identityService, INotificationsGrpcService notificationsGrpcService) { _roomsService = roomsService ?? throw new ArgumentNullException(nameof(roomsService)); _groupRoomsService = groupRoomsService ?? throw new ArgumentNullException(nameof(groupRoomsService)); _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService)); _notificationsGrpcService = notificationsGrpcService ?? throw new ArgumentNullException(nameof(notificationsGrpcService)); }
public UpdateService(ITemperatureSensorsService temperatureSensorsService, IHumiditySensorsService humiditySensorsService, IRoomsService roomsService, ITemperatureService temperatureService, IHumidityService humidityService, IEmailService emailService, ISettingsService settingsService) { _temperatureSensorsService = temperatureSensorsService; _humiditySensorsService = humiditySensorsService; _roomsService = roomsService; _temperatureService = temperatureService; _humidityService = humidityService; _emailService = emailService; _settingsService = settingsService; }
public RoomsController() { _roomService = new RoomService(); var config = new MapperConfiguration(cfg => { cfg.CreateMap <RoomModel, RoomViewModel>(); cfg.CreateMap <RoomPostModel, RoomModel>(); cfg.CreateMap <RoomViewModel, GetRoomViewModel>(); }); _mapper = new Mapper(config); }
public QuestionsController( IContestsService contestsService, IQuestionsService questionsService, IAnswersService answersService, IRoomsService roomsService, UserManager <ApplicationUser> userManager) { this.questionsService = questionsService; this.answersService = answersService; this.roomsService = roomsService; this.userManager = userManager; this.contestsService = contestsService; }
public CalendarController( IRoomsService roomsService, IRoomTypesService roomTypesService, IReservationRoomsService reservationRoomsService, IReservationsService reservationsService, UserManager <HotelUser> userManager) { this.roomsService = roomsService; this.roomTypesService = roomTypesService; this.reservationRoomsService = reservationRoomsService; this.reservationsService = reservationsService; this.userManager = userManager; }
public RoomsController( IRoomsService roomsServices, IPeriodsService periodsServices, IReservationsService reservationsServices, IHotelsService hotelsService, UserManager <BookingUser> userManager) { this.roomsServices = roomsServices; this.periodsServices = periodsServices; this.reservationsServices = reservationsServices; this.hotelsService = hotelsService; this.userManager = userManager; }
public RoomsController( IRoomsService roomsService, IContestsService contestsService, IApplicationSettingsService applicationSettingsService, UserManager <ApplicationUser> userManager, IHubContext <RoomHub> roomHub) { this.roomsService = roomsService; this.contestsService = contestsService; this.applicationSettingsService = applicationSettingsService; this.userManager = userManager; this.roomHub = roomHub; }
public RoomCreationViewModel( IRoomsService?roomsService = null) { _roomsService = roomsService ?? Ioc.GetService <IRoomsService>(); ScramblesAmount = string.Empty; AllEvents = Core.Constants.Events.Predefined; CreateRoomCommand = ReactiveCommand.CreateFromTask(CreateRoomAsync); JoinRoomCommand = ReactiveCommand.CreateFromTask(JoinRoomAsync); CancelCommand = ReactiveCommand.Create(() => { SnackbarViewModel.Disposed = true; }); AccessCode = ""; SnackbarViewModel = new SnackbarViewModel(height: 96); }
public HotelsController( UserManager <ApplicationUser> userManager, IHotelsService hotelsService, ICitiesService citiesService, IStarsService starsService, IRoomsService roomsService, SignInManager <ApplicationUser> signInManager) { this.userManager = userManager; this.hotelsService = hotelsService; this.citiesService = citiesService; this.starsService = starsService; this.roomsService = roomsService; this.signInManager = signInManager; }
public PendingRoomsController(IRoomsService rooms) { this.rooms = rooms; }
public RoomsController(IRoomsService roomsService) { this.rooms = roomsService; }
public HomeController(IRoomsService rooms) { this.rooms = rooms; }
public ReservationsController(IRoomsService rooms, IReservationsService reservations) { this.rooms = rooms; this.reservations = reservations; }