示例#1
0
        public async Task <ActionResult> DeleteCompras(string id)
        {
            var res = await repo.BorrarCompras(id);


            return(RedirectToAction(nameof(Leer_Compras)));
        }
示例#2
0
 public async Task <ActionResult <bool> > Delete(string id)
 {
     return(await repo.BorrarCompras(id));
 }