public override bool Update(EntidadBase entidad) { try { SqlDao.ExecuteProcedure(_mapper.GetUpdateStatement(entidad)); return(true); } catch (Exception ex) { return(false); } }
public override void Update(BaseEntity entity) { var empresa = (Empresa)entity; dao.ExecuteProcedure(mapper.GetUpdateStatement(empresa)); }
public override void Update(BaseEntity entity) { dao.ExecuteProcedure(_mapper.GetUpdateStatement(entity)); }