コード例 #1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            var checking = await DAL.FetchAccount(id);

            DAL.CloseAccount(checking);
            return(RedirectToAction(nameof(Index)));
        }
コード例 #2
0
 // [共用]關閉帳號
 public void CloseAccount(Int64 xid, string upd_user)
 {
     AccountDAL.CloseAccount(xid, upd_user);
 }
コード例 #3
0
 public void CloseAccount(IAccount account)
 {
     accountdal.CloseAccount(account);
 }
コード例 #4
0
 public void CloseAccount(int accountno)
 {
     accountdal.CloseAccount(accountno);
 }