Exemple #1
0
 public ActionResult SubmitContract(ContractViewModel model)
 {
     string strErrText;
     ContractSystem contract = new ContractSystem();
     if (contract.SubmitContract(model.Id, LoginAccountId, LoginStaffName, out strErrText))
     {
         return Json(string.Empty);
     }
     else
     {
         return Json(strErrText);
     }
 }