示例#1
0
 public MonadActionResult <Channel, Error> Get(int channelId) =>
 HttpContext.GetUserId()
 .Bind(userId => _channelsService.Get(userId, channelId));