コード例 #1
0
 public async Task <IEnumerable <RatingVM> > GetByProductAsync(int id)
 {
     return(await _request.GetAsync <IEnumerable <RatingVM> >(routeName + "/product/" + id));
 }
コード例 #2
0
 public async Task <OrderDetailVM> GetAsync(int id)
 {
     return(await _request.GetAsync <OrderDetailVM>(routeName + "/" + id));
 }
コード例 #3
0
 public async Task <IEnumerable <CategoryVM> > GetListAsync(int typeId)
 {
     return(await _request.GetAsync <IEnumerable <CategoryVM> >(routeName + "?typeId=" + typeId));
 }