public async Task <Result <ContentPageManageModel> > GetContentPage(int id) { if (id == 0) { var now = DateTime.Now; return(new ContentPageManageModel() { Template = String.Empty, CategoryIds = new List <int>(), StatusCode = RecordStatusCode.NotActive, Assigned = CustomerTypeCode.All, }); } return(new ContentPageManageModel((await contentPageService.GetContentPageAsync(id)))); }