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