Beispiel #1
0
 private async Task InitializeCurrencyAsync(CompanySource source, LoginUser loginUser, CancellationToken token)
 {
     var currency = new Currency
     {
         CompanyId = source.Company.Id,
         Code      = VOne.Common.Constants.DefaultCurrencyCode,
         Name      = "日本円",
         Symbol    = "円",
         Note      = "",
         CreateBy  = loginUser.Id,
         UpdateBy  = loginUser.Id,
     };
     await currencyQueryProcessor.SaveAsync(currency, token);
 }
Beispiel #2
0
 public async Task <Currency> SaveAsync(Currency Currency, CancellationToken token = default(CancellationToken))
 => await addCurrencyQueryProcessor.SaveAsync(Currency, token);