Exemple #1
0
 public IActionResult GetContactList(int?id)
 {
     if (id.HasValue)
     {
         return(Ok(_contactListService.GetItemFromContactListWithId(id == null ? 0 : id.Value)));
     }
     else
     {
         return(NotFound());
     }
 }