예제 #1
0
 public IActionResult Invite(int receiverId)
 {
     try
     {
         _contactService.AddRelationship(receiverId);
         return(Ok());
     }
     catch (ContactNotFoundException ex)
     {
         return(BadRequest(new { message = ex.Message }));
     }
 }