Exemplo n.º 1
0
 public IChannel CreateChannel([FromBody] NewChannel channel)
 {
     channel.OwnerId = _am.Authenticate(HttpContext).Id;
     return(_cm.CreateChannel(channel));
 }