Пример #1
0
        public void UpdateUser(UserModel user)
        {
            DBController newRequest = new DBController("127.0.0.1", "fitness_club", 3306, "root", "");

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

            newRequest.GetUserByCardNumber(userCardNumber);
        }
Пример #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);
        }