コード例 #1
0
 public MonadActionResult <Message, Error> DeleteMessage(int channelId, [FromBody] long messageId) =>
 HttpContext.GetUserId()
 .Bind(userId => _channelsService.DeleteMessage(userId, channelId, messageId));