Пример #1
0
 public RoomController(IRoomUserDB roomUserDB, IUserDB userDB, IRoomDB roomDB, IActivityDB activityDB)
 {
     _roomUserDB = roomUserDB;
     _userDB     = userDB;
     _roomDB     = roomDB;
     _activityDB = activityDB;
 }
Пример #2
0
 public MainController(IRoomDB roomDB, IRoomUserDB roomUserDB, IUserDB userDB, IActivityDB activityDB, IHubContext <RoomHub> hubContext, ITimeDB timeDB)
 {
     _roomDB     = roomDB;
     _roomUserDB = roomUserDB;
     _userDB     = userDB;
     _activityDB = activityDB;
     context     = hubContext;
     _timeDB     = timeDB;
 }