예제 #1
0
 public IActionResult GetFriends(string phone)
 {
     try
     {
         //var names_list = _friendsService.GetAll(phone);
         var names_list = _friendsService.GetAllNamesPhones(phone);
         return(Ok(names_list));
     }
     catch (NullReferenceException e)
     {
         return(NotFound(e.Message));
     }
 }