public static IEnumerable <ProductFamily> All(this ProductFamilyService service, int familyId) { string url = string.Format(format: "/{0}/{1}/{2}", arg0: ProductFamilyService.ProductFamilyKey, arg1: familyId, arg2: ProductService.ProductKey); return(service.GetRequest <List <ProductFamily> >(url)); }
public static ProductFamily Single(this ProductFamilyService service, string handle) { string url = string.Format(format: "/{0}/handle/{1}", arg0: ProductFamilyService.ProductFamilyKey, arg1: handle); return(service.GetRequest <ProductFamily>(url)); }
public static IEnumerable <ProductFamily> All(this ProductFamilyService service) { string url = string.Format(format: "/{0}", arg0: ProductFamilyService.ProductFamilyKey); return(service.GetRequest <List <ProductFamily> >(url)); }