public override bool Delete(EntidadBase entidad) { try { SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetDeleteStatement(entidad)); return(true); } catch (Exception ex) { AdministrarExcepcion(ex); throw ex; } }
public override void Delete(Entity entity) { var usuario = (Usuario)entity; dao.ExecuteProcedure(mapper.GetDeleteStatement(usuario)); }
public override void Delete(BaseEntity entity) { dao.ExecuteProcedure(_mapper.GetDeleteStatement(entity)); }
public override void Delete(BaseEntity entity) { var entidad = (Usuario)entity; dao.ExecuteProcedure(mapper.GetDeleteStatement(entity)); }