Example #1
0
 public PlaygroundController(UserManager <ApplicationUser> userManager,
                             SignInManager <ApplicationUser> signInManager,
                             IAuthorizationService authorizationService,
                             IUserRepository userRepository,
                             IImageRepository imageRepository,
                             IPlaygroundReservationRepository reservationRepository,
                             IReviewRepository reviewRepository,
                             IMessageRepository messageRepository,
                             IPlaygroundPriceRepository playgroundPriceRepository,
                             IConnectedUsersRepository connectedUsersRepository,
                             IHubContext <ChatHub> hubContext)
 {
     _userManager               = userManager;
     _signInManager             = signInManager;
     _authorizationService      = authorizationService;
     _userRepository            = userRepository;
     _imageRepository           = imageRepository;
     _reservationRepository     = reservationRepository;
     _reviewRepository          = reviewRepository;
     _messageRepository         = messageRepository;
     _playgroundPriceRepository = playgroundPriceRepository;
     _connectedUsersRepository  = connectedUsersRepository;
     _hubContext = hubContext;
 }
 public PlaygroundPrices(IPlaygroundPriceRepository playgroundPriceRepositor)
 {
     _playgroundPriceRepositor = playgroundPriceRepositor;
 }