public override void Execute() { var material = this._site.RealmUpMaterial(); string templatePath = RazorHtmlHelper.ResolveTemplatePath("/Character/RealmMaterialRender.cshtml"); var builder = new CodeBuilder <RealmUpMaterial>(templatePath, material); string html = builder.Generate(); Response.Write(html); }
public override void Execute() { string eid = GetQuery("eid"); var material = this._site.EquipUpMaterial(eid); string templatePath = RazorHtmlHelper.ResolveTemplatePath("/Equip/MaterialRender.cshtml"); var builder = new CodeBuilder <EquipUpMaterial>(templatePath, material); string html = builder.Generate(); Response.Write(html); }