public IActionResult Get(int id) { var result = _categoriaServices.Get(id); if (result.Id == 0) { return(NotFound()); } else { return(Ok(result)); } }
public IActionResult Get(int id) { var result = _categoriaServices.Get(id); if (result.Id == 0) { return(NotFound()); } else { return(Ok(result)); } }