public bool Update(Imovel i) { if (_dao.Get(i.idImovel) != null) { return(_dao.Update(i)); } else { return(false); } }