Beispiel #1
0
        public async Task <ActionResult> Edit(Guid Id)
        {
            var Banner = await _Banner.GetBannerById(Id);

            Banner.PageNameList    = new SelectList(await CommonModel.GetLookup("Page"), "Value", "Text");
            Banner.SectionNameList = new SelectList(await CommonModel.GetSection(Banner.PageId), "Name", "Text");
            return(View("Create", Banner));
        }