private IDatabase CreateDatabase() { IDatabase database = new InMemoryDatabase(); database.Connect(); Console.WriteLine("Creating a database..."); User user = new User(1, "*****@*****.**", "secret"); user.IncreaseFunds(1000); database.Users.Add(user); database.Products.Add(new Product(1, "Ball", 50)); database.Products.Add(new Product(2, "Hammer", 200)); database.Products.Add(new Product(3, "Notebook", 3000)); database.Products.Add(new Product(4, "Monitor", 550)); database.Products.Add(new Product(5, "Bike", 700)); return(database); }