private async Task Write(RiskCalculationConfigArgs a4) { var e4 = new RiskCalculationContentEntity { Release = a4.Release }; await _Formatter.Fill(e4, a4.ToContent()); await _DbContextProvider.AddAsync(e4); }
public async Task Execute(RiskCalculationConfigArgs args) { var e = new RiskCalculationContentEntity { Release = args.Release }; await _Formatter.Fill(e, args.ToContent()); await _DbContextProvider.AddAsync(e); }
public string Create(RiskCalculationContentEntity e) => Create(e.Content);