public StoreLiquidResult GetRetailers(List <Retailer> labels, PageDesign pageDesign) { var items = new List <RetailerLiquid>(); foreach (var item in labels) { var nav = new RetailerLiquid(item); items.Add(nav); } object anonymousObject = new { retailers = LiquidAnonymousObject.GetRetailersEnumerable(items) }; var indexPageOutput = LiquidEngineHelper.RenderPage(pageDesign, anonymousObject); var dic = new Dictionary <String, String>(); dic.Add(StoreConstants.PageOutput, indexPageOutput); var result = new StoreLiquidResult(); result.PageDesingName = pageDesign.Name; result.LiquidRenderedResult = dic; return(result); }