public ActionResult Create(SystemOragnizationModel model)
 {
     if (ModelState.IsValid)
     {
         this.CreateBaseData <SystemOragnizationModel>(model);
         OperationResult result = SystemOragnizationService.Insert(model);
         if (result.ResultType == OperationResultType.Success)
         {
             return(Json(result));
         }
         else
         {
             return(PartialView(model));
         }
     }
     else
     {
         return(PartialView(model));
     }
 }
 public ActionResult Edit(SystemOragnizationModel model)
 {
     if (ModelState.IsValid)
     {
         this.UpdateBaseData <SystemOragnizationModel>(model);
         OperationResult result = SystemOragnizationService.Update(model);
         if (result.ResultType == OperationResultType.Success)
         {
             return(Json(result));
         }
         else
         {
             InitParentModule(model);
             InitEduTypeModule(model);
             return(PartialView(model));
         }
     }
     else
     {
         InitParentModule(model);
         InitEduTypeModule(model);
         return(PartialView(model));
     }
 }
        public ActionResult Delete(int Id)
        {
            OperationResult result = SystemOragnizationService.Delete(Id);

            return(Json(result));
        }