public ActionResult <IEnumerable <string> > Get() { return(db.Keys()); }
public override async Task HandleMessage(object message, ClientSocket socket) { var rooms = _roomDatabase.Keys(); await socket.SendMessageAsync(new ListRoomsResponse { Rooms = rooms }); }
public List <string> ListRooms() { return(_roomDatabase.Keys()); }