public Task <Product> GetProductById(int ProductId) { return(Task.FromResult(ProductDAL.GetProductById(ProductId))); }
public Task <List <Product> > GetProducts() { return(Task.FromResult(ProductDAL.GetProducts())); }