public async Task <AccountDto> CreateAccountAsync(AccountDto account) { var dataModel = account.Convert(); await this.repo.Accounts.AddAsync(dataModel); await this.repo.SaveChangesAsync(); return(dataModel.Convert()); }
public async Task <AccountDto> CreateAccountAsync(AccountDto account) { var dataModel = account.Convert(); await this.repo.Accounts.AddAsync(dataModel); await this.repo.SaveChangesAsync(); return(dataModel.Convert()); }