Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IActionResult> SaveCategoriaAsync(Categoria categ) { if (categ.Id > 0) { await categoriaService.UpdateCategoriaAsync(categ); } else { await categoriaService.AddCategoriaAsync(categ); } return(RedirectToAction("Index")); }