// GET: Setting/Edit/5 public ActionResult Edit(string id, BaseModel baseModel) { SettingModel SettingModel = new SettingModel(); SettingModel.CopyBaseModel(baseModel); SettingModel.Id = id; using (SettingBAL settingBAL = new SettingBAL(ContextInfo)) { settingBAL.GetSettingModel(SettingModel); } return(View(SettingModel)); }