public ActionResult Update(ZhuZhaiChengJiao entity) { if (ModelState.IsValid) { entity.LastModifiedBy = GetCurrentUserName(); entity.LastModifiedDate = DateTime.Now; _service.UpdateZhuZhaiChengJiao(entity); _service.Save(); var window = this.GetCmp <Window>("windowZhuZhaiChengJiao"); window.Hide(); this.GetCmp <Store>("storeZhuZhaiChengJiao").Reload(); return(this.Direct()); } return(this.Direct()); }