コード例 #1
0
 public Task <Product> GetProductAsync(string id)
 {
     return(restService.GetObjectAsync <Product>(Constants.ProductsUrl, id));
 }
コード例 #2
0
 public Task <Event> GetEventAsync(string id)
 {
     return(restService.GetObjectAsync <Event>(Constants.EventsUrl, id));
 }
コード例 #3
0
 public Task <Category> GetCategoryAsync(string id)
 {
     return(restService.GetObjectAsync <Category>(Constants.CategoriesUrl, id));
 }