public ActionResult getCategorias() { var categorias = _categoriaService.GetAllCategorias(); return(Ok(categorias)); }
public ActionResult GetAll() { var Lista_categorias = _categoriaService.GetAllCategorias(); return(Ok(Lista_categorias)); }