public Task Handle(AccountCreated message) { var list = _database.GetAccountListDto(); list.Add(new BankAccountDto(message.Id, message.Name)); _database.SaveAccountListDto(list); return(Task.FromResult(0)); }