Exemple #1
0
 /// <summary>
 /// Removes the current user from the gloabl list then set current user to null
 /// </summary>
 /// <returns></returns>
 public static bool RemoveCustomer()
 {
     _CustomerList.Remove(CurrentUser);
     CurrentUser = null;
     return(true);
 }
Exemple #2
0
 //Might want to add some logic to prevent adding dups
 public static void Add(CustomerModel customer)
 {
     _CustomerList.Add(customer);
 }