Example #1
0
        public ActionResult <bool> DeleteAccount(int id)
        {
            var accountDeleted = _bankService.DeleteAccount(id);

            if (!accountDeleted)
            {
                return(BadRequest());
            }
            return(accountDeleted);
        }