Example #1
0
        public IActionResult Withdraw(int id, int amount, string accountType)
        {
            var AmountWithdrawed = _customerAccountRepo.WithDraw(id, amount, accountType).FirstOrDefault();

            return(Ok(AmountWithdrawed));
        }