public string CreateChannelRoom(string id, [FromBody] NewRoom room) { room.OwnerId = _am.Authenticate(HttpContext).Id; room.ChannelId = id; _cm.CreateChannelRoom(room); return("Successfully created Room"); }
public string CreateChannelRoom(string id, [FromBody] NewRoom room) { room.OwnerId = _am.Authenticate(HttpContext).Id; room.ChannelId = id; _cm.CreateChannelRoom(room); return("Successfully created Room"); }