public async Task <IndexModel> Get(int offsetRows = 0, int nextRows = 20, string name = null, string brand = null, string supplier = null, string certifyingBody = null, RiskCategory?riskCategory = null, HLIngredientStatus?status = null, string verifiedBy = null) { var option = new HalalLibraryOptions { Name = name, Brand = brand, Supplier = supplier, CertifyingBody = certifyingBody, RiskCategory = riskCategory, Status = status, VerifiedBy = verifiedBy }; return(await _halalLibraryService.Search(option, offsetRows, nextRows)); }
public Task <IndexModel> Search(HalalLibraryOptions options, int offsetRows, int nextRows) { return(_apiClient.HalalLibrarySdk.Search(options, offsetRows, nextRows)); }