static void Main(string[] args) { var manager = new ProductManager(new EfProductDal()); var result = manager.GetProductDtoAll(); foreach (var item in result.Data) { Console.WriteLine(item.ProductName + item.CategoryName); } }
static void Main(string[] args) { var manager = new ProductManager(new EfProductDal()); var result = manager.GetProductDtoAll(); foreach (var item in result.Data) { Console.WriteLine(item.ProductName + item.CategoryName); } }