private static void ProductTest() { ProductManager productManager = new ProductManager(new EFProductDal()); foreach (var product in productManager.GetAll().Data) { Console.WriteLine(product.ProductName); } foreach (var product in productManager.GetbyUnitPrice(20, 100).Data) { Console.WriteLine(product.ProductName); } }