public IActionResult Studio(string id = null) { if (!string.IsNullOrEmpty(id)) { this.RequestQuery.EntityId = EntityCode.Get(id); } var page = new StudioPage(WebAppContext); return(CreatePageResult(page.GetPage(this.RequestQuery))); }
public IActionResult Desk(string id) { if (!string.IsNullOrEmpty(id)) { this.RequestQuery.EntityId = EntityCode.Get(id); } var context = new DeskPageContext(this.WebAppContext, this.RequestQuery.EntityId, this.RequestQuery); context.Build(); var builder = new EntityPageBuilder(); var page = builder.CreateDeskPage(context); return(CreatePageResult(page)); }