예제 #1
0
 /// <summary>
 /// 发布特殊政策
 /// </summary>
 /// <param name="Policy"></param>
 /// <param name="operatorAccount"></param>
 public bool RegisterSpecialPolicy(SpecialPolicyReleaseInfo Special)
 {
     try
     {
         Special.BasicInfo.Owner = this.CurrentUser.Owner;
         return(PolicyManageService.ReleaseSpecialPolicies(Special, this.CurrentUser.UserName));
     }
     catch (System.Data.Common.DbException ex)
     {
         Service.LogService.SaveExceptionLog(ex);
         throw new Exception("添加信息发生未知错误,请稍后再试");
     }
 }