Beispiel #1
0
 public MonadActionResult <Message, Error> PutMessage(int channelId, [FromBody] Message message) =>
 HttpContext.GetUserId()
 .Bind(userId => _channelsService.UpdateMessage(userId, channelId, message));