public ActionResult Edit(int id) { var banner = jlService.GetBanner(id); var model = new JL.Web.Areas.backend.Models.BannerModel(); model.BackgroundColor = banner.BackgroundColor; model.Desctiption = banner.Desctiption; model.Picture = banner.Picture; model.SortIndex = banner.SortIndex; model.Status = banner.Status; model.Title = banner.Title; model.Url = banner.Url; return(View(model)); }