Esempio n. 1
0
        public bq_User Filter(string request)
        {
            var model = new bq_User();

            model.Email = request;
            return(model);
        }
Esempio n. 2
0
        public bq_User GetAll2(int a)
        {
            var model = new bq_User();

            model.Email = a.ToString();
            return(model);
        }
Esempio n. 3
0
 public UserProfile(bq_User user)
 {
     UserId   = user.UserId;
     UserName = user.UserName;
     Email    = user.Email;
     Avatar   = user.Avatar;
     Gender   = user.Gender;
     BirthDay = user.Birthday;
 }
Esempio n. 4
0
        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));
        }
Esempio n. 5
0
        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);
        }
Esempio n. 6
0
        public bq_User GetAll2()
        {
            var model = new bq_User();

            return(model);
        }