Example #1
0
 /// <summary>
 /// 活期存款
 /// </summary>
 /// <param name="money">前端出入ATM数钱器输入的活期存款金额</param>
 /// <returns></returns>
 public IActionResult FloatDepositInformation(double money)
 {
     if ((money > 0) && (money % 100 == 0))//存入金额为正,为整百判断
     {
         cardServive.AddFloatBalanceService(DAndC(), money);
         return(Redirect(Url.Action("Success", "Cards")));
     }
     else
     {
         return(Redirect(Url.Action("MoneyError", "Errors")));
     }
 }