public RentController(IDataBaseRepo <RentOrder> rentOrders, IDataBaseRepo <Game> games, MessageBroker broker,
                       IDataBaseRepo <User> users)
 {
     _rentOrders = rentOrders;
     _games      = games;
     _broker     = broker;
     _users      = users;
 }
Esempio n. 2
0
 public UserController(IDataBaseRepo <User> userRepository)
 {
     _userRepository = userRepository;
 }
Esempio n. 3
0
 public GameController(IDataBaseRepo <Game> games, IWebHostEnvironment environment)
 {
     _games       = games;
     _environment = environment;
 }