diff --git a/Source Code/TeamHobby.HobbyProjectGenerator.UserManagement/UserAccount.cs b/Source Code/TeamHobby.HobbyProjectGenerator.UserManagement/UserAccount.cs index 92e0c55..687f7ec 100644 --- a/Source Code/TeamHobby.HobbyProjectGenerator.UserManagement/UserAccount.cs +++ b/Source Code/TeamHobby.HobbyProjectGenerator.UserManagement/UserAccount.cs @@ -4,31 +4,39 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace main +namespace TeamHobby.HobbyProjectGenerator.UserManagement { public class UserAccount { - /* private string username; - private string password; - private string role; + // Admin Credentials + private string UserName; + private string Password; + private DateTime Time; - public UserAccount(string un,string pwd,string rol) + public UserAccount(string un, string pwd, DateTime TimeStamp) { - username = un; - password = pwd; - role = rol; - + UserName = un; + Password = pwd; + Time = TimeStamp; } + public string username { get { return UserName; } } + public string password { get { return Password; } } - public void UserAccount() + // New User Credentials + private string newusername; + private string newpassword; + private string newemail; + private DateTime newtime; + public void NewUser(string newUN, string newPWD, string Email, DateTime newTime) { - password = "1234"; - role = "Regular"; + newusername = newUN; + newpassword = newPWD; + newemail = Email; + newtime = newTime; } - - public void newUser() - { - - }*/ + public string NewUserName { get { return newusername; } } + public string NewPassword { get { return newpassword; } } + public string NewEmail { get { return newemail; } } + public DateTime Newtime { get { return newtime;} } } } diff --git a/Source Code/TeamHobby.HobbyProjectGenerator/Contracts/IDataSource.cs b/Source Code/TeamHobby.HobbyProjectGenerator/Contracts/IDataSource.cs deleted file mode 100644 index 7db156f..0000000 --- a/Source Code/TeamHobby.HobbyProjectGenerator/Contracts/IDataSource.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace TeamHobby.HobbyProjectGenerator.Contracts -{ - internal interface IDataSource - { - } -}