public ChatController() { _GameMan = new GameplayManager(); _UserGameStoreManager = new UserGameStorageManager(); _GameSessionManager = new GameSessionManager(); _ChatHub = new HubService(); _SessionManager = new SessionManager(); }
public IHttpActionResult GetOrder([FromBody] GameRoleDTO grDto) { var userManager = new UserManager(); var ugsManager = new UserGameStorageManager(); var user = userManager.GetUser(grDto.SsoId); var order = ugsManager.GetUserGameStorage(user.ID).Order; return(Ok(order)); }