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