Beispiel #1
0
        private async Task <Guid> InsertCurrentAccount(Guid userId)
        {
            var entity = new CurrentAccountEntity
            {
                Balance = 0,
                UserId  = userId
            };

            return(await _repositoryCurrentAccount.InsertAsync(entity));
        }
 public async Task <Guid> Insert(CurrentAccountEntity entity)
 {
     return(await _repository.InsertAsync(entity));
 }