public double CalculateAvgUserHeight()
        {
            var ud   = new UserDummies();
            var list = ud.GetUserDummies();

            return(list.Select(x => x.Height).Average());
        }
        public bool AddNewUserOnAge(UserModel um)
        {
            var ud = new UserDummies();

            if (um.Age > 120 || um.Age < 18)
            {
                return(false);
            }
            else
            {
                ud.userDummies
                .Add(um);
                return(true);
            }
        }
        public bool AddNewUserOnHeight(UserModel um)
        {
            var ud = new UserDummies();

            if (um.Height > 300 || um.Height < 50)
            {
                return(false);
            }
            else
            {
                ud.userDummies
                .Add(um);
                return(true);
            }
        }