Example #1
0
 public ActionResult SavePublicFunds(PublicFundsEntity entity)
 {
     try
     {
         var result = new BaseSetBC().SavePublicFunds(entity, CurrentUserInfo.Account);
         if (result == 0)
         {
             return(Json(string.Empty));
         }
         return(Json("保存成功"));
     }
     catch (Exception ex)
     {
         return(Json(string.Empty));
     }
 }
Example #2
0
        public int SavePublicFunds(PublicFundsEntity entity, string loginName)
        {
            BaseSetDA da = new BaseSetDA();

            return(da.SavePublicFunds(entity, loginName));
        }