Beispiel #1
0
        public void UpdateUser(UserModel user)
        {
            DBController newRequest = new DBController("127.0.0.1", "fitness_club", 3306, "root", "");

            newRequest.UpdateUser(user);
        }
Beispiel #2
0
        public void GetUserByCardNumber(string userCardNumber)
        {
            DBController newRequest = new DBController("127.0.0.1", "fitness_club", 3306, "root", "");

            newRequest.GetUserByCardNumber(userCardNumber);
        }
Beispiel #3
0
        /// <summary>
        /// Возвращает всех пользователя
        /// </summary>
        /// <returns></returns>
        public List <UserModel> Users()
        {
            DBController newRequest = new DBController("127.0.0.1", "fitness_club", 3306, "root", "");

            return(newRequest.Users);
        }