public async Task CreateBalance(User user) { var balance = new Balance { CurrentBalance = 500, User = user, DateCreate = DateTime.Now, DateUpdate = DateTime.Now }; await _balanceService.AddAsync(balance); await _balanceService.CommitAsync(); }
public async Task CreateBalance(User user) { var balance = new Balance { CurrentBalance = 500, User = user, DateCreate = DateTime.Now, DateUpdate = DateTime.Now }; await _balanceService.AddAsync(balance); await _balanceService.CommitAsync(); }