public bq_User Filter(string request) { var model = new bq_User(); model.Email = request; return(model); }
public bq_User GetAll2(int a) { var model = new bq_User(); model.Email = a.ToString(); return(model); }
public UserProfile(bq_User user) { UserId = user.UserId; UserName = user.UserName; Email = user.Email; Avatar = user.Avatar; Gender = user.Gender; BirthDay = user.Birthday; }
public ActionResult EditProfile(bq_User user) { bl_User bl_User = new bl_User(); bl_User.Update(user.UserId, user.UserName, user.Email, user.Gender, user.Birthday); return(View(user)); }
public UserProfile(bq_User user) { UserId = user.UserId; UserName = user.UserName; Email = user.Email; Gender = user.Gender; BirthDay = user.Birthday; BestScore = user.BestScore; DisplayName = (user.DisplayName != null) ? user.DisplayName : user.UserName; if (user.Avatar.Contains("http")) { Avatar = user.Avatar; } else { Avatar = ps_Server.AvatarPath + user.Avatar; } bl_User blUser = new bl_User(); Ranking = blUser.GetRanking(BestScore); }
public bq_User GetAll2() { var model = new bq_User(); return(model); }