static void Main(string[] args) { Seeder seed = new Seeder(); seed.AddData(); API.Start(); }
public void Demo() { var seed = new Seeder(); bool run = true; seed.AddData(); while (run) { Console.WriteLine("API Demo" + "\n1. Exempel - Kund" + "\n2. Exempel - Admin" + "\n3. Avsluta" + "\n------------------------------"); int input = Convert.ToInt32(Console.ReadLine()); switch (input) { case 1: KundDemo(); break; case 2: AdminDemo(); break; case 3: run = false; break; } } }
static void Main(string[] args) { var seed = new Seeder(); seed.AddData(); }