public bool SaveInfo() { var dao = new DaoUser(); int temp = dao.EditUserInfo(Convert.ToInt32(UserId), FirstName, LastName, DateBirthDay, Convert.ToInt32(Sex.SexId), PhoneNumber, Convert.ToInt32(JobIndustries.JobIndutriesId), Convert.ToInt32(Address.District.Id), Convert.ToInt32(Races.RaceId), MaximOfLife, ThumImg); if (temp > 0) { return(true); } return(false); }