GetProducts() public method

public GetProducts ( ) : IEnumerable
return IEnumerable
示例#1
0
 public VMProduct()
 {
     repo = new ProductRepo();
     this.ListOfProducts = repo.GetProducts().ToList();
 }
示例#2
0
 public VMProduct() {
     repo = new ProductRepo();
     this.ListOfProducts = repo.GetProducts().ToList();
 }