Пример #1
0
 /// <summary>
 /// Adds methods to <c>CommandsMain</c> which the user will have access to in the main menu.
 /// </summary>
 public void GetCommandsMain()
 {
     CommandsMain.Add(LogOut);
     CommandsMain.Add(ViewProfile);
     CommandsMain.Add(ViewOrderHistory);
     CommandsMain.Add(ViewLocations);
 }
 /// <summary>
 /// Adds methods to <c>CommandsMain</c> which the user will have access to in the main menu.
 /// Adds the admin commands to the <c>CommandsMain</c>.
 /// </summary>
 public new void GetCommandsMain()
 {
     CommandsMain.Add(SearchCustomer);
     CommandsMain.Add(AddAdmin);
     CommandsMain.Add(AddCustomer);
     CommandsMain.Add(AddLocation);
     CommandsMain.Add(RemoveLocation);
 }