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