public ActionResult Get(long codigo) { var item = _itemBusiness.FindById(codigo); if (item == null) { return(NotFound()); } else { return(Ok(item)); } }
public ActionResult Get(long codigo) { var item = _itemBusiness.FindById(codigo); if (item == null) { return(NotFound()); } else { return(Ok(item)); } }