// 2.4) Login as a user public bool UserLogin(string name, string password) { var result = UserLogic.UserLogin(name, password); return(result); }
// 2.8) Get info and edit shopping cart // 2.9) Purchase // 3.1) Logout public bool UserLogout(string userName) { var result = UserLogic.UserLogout(userName); return(result); }
// 2.2) Exit as a guest public bool GuestLogout(long guestId) { var result = UserLogic.GuestLogout(guestId); return(result); }
// 2.3) Register public bool Register(string userName, string userPassword) { var result = UserLogic.Register(userName, userPassword); return(result); }
public string GetHashString(string inputString) { return(UserLogic.GetHashString(inputString)); }
// 2.1) Sign in as a guest public long GuestLogin() { var result = UserLogic.GuestLogin(); return(result); }
public List <string> GetAllUserNamesInSystem() { return(UserLogic.GetAllUserNamesInSystem()); }
public List <string> GetAllLoggedInUsers() { return(UserLogic.GetAllLoggedInUsers()); }
public bool IsLoggedIn(string userName) { return(UserLogic.IsLoggedIn(userName)); }