public async Task <ActionResult> DeleteCompras(string id) { var res = await repo.BorrarCompras(id); return(RedirectToAction(nameof(Leer_Compras))); }
public async Task <ActionResult <bool> > Delete(string id) { return(await repo.BorrarCompras(id)); }