Esempio n. 1
0
 public RoomController(IRoomUserDB roomUserDB, IUserDB userDB, IRoomDB roomDB, IActivityDB activityDB)
 {
     _roomUserDB = roomUserDB;
     _userDB     = userDB;
     _roomDB     = roomDB;
     _activityDB = activityDB;
 }
 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;
 }