public bool DeleteAccount(int accountId) { try { _repository.DeleteAccount(accountId); } catch { return(false); } return(true); }