archive
/
product-list
Archived
1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
product-list/Program.cs

30 lines
488 B
C#

using System;
namespace productlist
{
class MainClass
{
public static void Main (string[] args)
{
Console.WriteLine ("Welcome to the Product List");
UI.inputType type = UI.promptForCommand ();
switch (type) {
case UI.inputType.create:
Product.fromPrompt ();
break;
case UI.inputType.list:
Storage.List ();
break;
case UI.inputType.dump:
Storage.dump ();
break;
case UI.inputType.load:
Storage.load ();
break;
}
}
}
}