Beispiel #1
0
        public ActionResult Get(long codigo)
        {
            var item = _itemBusiness.FindById(codigo);

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