Пример #1
0
        public IHttpActionResult GetById(string id)
        {
            var item = ContactsRepo.Find(id);

            if (item == null)
            {
                return(NotFound());
            }

            return(Json(item));
        }