title: Signalr Return Model Object
body: <p>The story is that, I have ROOM Model class. I want to return json with using Signalr. Is it possible ? If it is, how can i use it ?</p>
  
  <p>PS: And I know that I dont return room objet to clients.</p>
  
  <pre><code>public List&lt;RoomModel&gt; GetRooms()
          {
              GameUser user = _gameService.GetUserByClientId(Context.ConnectionId);
  
          var room = _gameService.GetAllowedRooms(user).Select(r =&gt; new RoomModel
          {
              Name = r.Name,
              Count = 0,
              Private = r.Private,
              Closed = r.Closed,
          }).ToList();
  
          return room;
      }
  </code></pre>