示例#1
0
 public ActionResult SubmitForm(CategoryEntity categoryEntity, string keyValue)
 {
     try
     {
         categoryApp.SubmitForm(categoryEntity, keyValue);
         return(Success("操作成功。"));
     }
     catch (System.Exception e)
     {
         return(Error(e.Message));
     }
 }
 public ActionResult SubmitForm(CategoryEntity entity, string keyValue)
 {
     business.SubmitForm(entity, keyValue);
     return(Success("操作成功。"));
 }