예제 #1
0
        public IHttpActionResult Get(Guid id)
        {
            var item = _repository.Find(id);

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