예제 #1
0
        public ActionResult Delete(int id)
        {
            db.DeleteCliente(id);

            return(RedirectToAction("List"));
        }
예제 #2
0
 public Task <bool> DeleteCliente(int idCliente)
 {
     return(_clienteRepositorio.DeleteCliente(idCliente));
 }