public async Task <IEnumerable <RatingVM> > GetByProductAsync(int id) { return(await _request.GetAsync <IEnumerable <RatingVM> >(routeName + "/product/" + id)); }
public async Task <OrderDetailVM> GetAsync(int id) { return(await _request.GetAsync <OrderDetailVM>(routeName + "/" + id)); }
public async Task <IEnumerable <CategoryVM> > GetListAsync(int typeId) { return(await _request.GetAsync <IEnumerable <CategoryVM> >(routeName + "?typeId=" + typeId)); }