// Extra Tack till Denis, Daniel och Marcus // static void Main(string[] args) { var control = new Control(); control.Execute(); PriceList.DeserializePriceList(); Console.WriteLine("Press any key to continiue..."); Console.ReadKey(); }
public void Execute() { //only return errors and Exit program. try { PriceList.DeserializePriceList(); Menu.StartUpMenu(); ExitProgram(); } catch (Exception e) { Console.WriteLine(e.Message); } }