예제 #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);
 }
 public void CloseAccount(int accountno)
 {
     accountdal.CloseAccount(accountno);
 }