public bool Eliminar(Venta venta) { try { return(repository.Eliminar(venta)); } catch (Exception ex) { throw new Exception(ex.Message); } }