Esempio n. 1
0
 public ActionResult Add(QualificationUnrestrictedUser e)
 {
     ActionResult ar = null;
     try {
         this.BeforeAddData(e, ref ar);
         if (ar == null) {
             this.Service.Add(e);
             e = this.Service.FindById(e.Id);
             //ar = this.Json(new AjaxOperationResult { Data = e, Successful = true });
             this.AfterAddData(e, ref ar);
         }
     } catch (Exception ex) {
         ar = this.Json(new AjaxOperationResult { Successful = false, Message = ex.Message });
     }
     return ar;
 }
Esempio n. 2
0
partial         void BeforeUpdateData(QualificationUnrestrictedUser e, ref ActionResult ar);
Esempio n. 3
0
partial         void AfterAddData(QualificationUnrestrictedUser e, ref ActionResult ar);
Esempio n. 4
0
partial         void BeforeShowEditView(QualificationUnrestrictedUser e);
Esempio n. 5
0
partial         void AddRowToGridModel(LigerGridModel m, QualificationUnrestrictedUser e);