public ActionResult Insert(ZhuZhaiChengJiao entity) { if (ModelState.IsValid) { entity.OrgNamePath = GetOrganizationNamePath(); entity.CreatedBy = GetCurrentUserName(); entity.CreatedDate = DateTime.Now; _service.AddZhuZhaiChengJiao(entity); _service.Save(); this.GetCmp <Window>("windowZhuZhaiChengJiao").Hide(); this.GetCmp <Store>("storeZhuZhaiChengJiao").Reload(); return(this.Direct()); } return(this.Direct()); }