Beispiel #1
0
 /// <summary>
 /// the method returns all products
 /// </summary>
 /// <returns>all IEnumerable products</returns>
 public Task <IEnumerable <Models.Product> > GetAllProducts()
 {
     return(Task.FromResult(Repository.Set <Product, Models.Product>(product => buildEntity.NewProductEntity(product))));
 }