Пример #1
0
 public string CreateChannelRoom(string id, [FromBody] NewRoom room)
 {
     room.OwnerId   = _am.Authenticate(HttpContext).Id;
     room.ChannelId = id;
     _cm.CreateChannelRoom(room);
     return("Successfully created Room");
 }