コード例 #1
0
 public ActionResult <bool> CheckIfAreFriends(Guid userId, Guid friendId)
 {
     if (userId == Guid.Empty || friendId == Guid.Empty)
     {
         return(NotFound());
     }
     return(Ok(_relationRepository.CheckIfFriends(userId, friendId)));
 }