예제 #1
0
 public async Task <IActionResult> Follow(string username) =>
 (await _profilesService.FollowAsync(CurrentUserId, username))
 .Match <IActionResult>(profile => Ok(new { profile }), Error);