public ActionResult <bool> DeleteAccount(int id) { var accountDeleted = _bankService.DeleteAccount(id); if (!accountDeleted) { return(BadRequest()); } return(accountDeleted); }