Exemple #1
0
 public ActionResult Create(Models.SysTable collection)
 {
     try
     {
         string outputId = _dataobject.Insert(collection);
         return(RedirectToAction(this.ActionReturn()));
     }
     catch (Exception ex)
     {
         Services.GlobalErrors.Parse(ModelState, _dataobject.Errors, ex);
         return(PartialView(this._updateview, collection));
     }
 }