private async Task Write(RiskCalculationConfigArgs a4)
        {
            var e4 = new RiskCalculationContentEntity
            {
                Release = a4.Release
            };
            await _Formatter.Fill(e4, a4.ToContent());

            await _DbContextProvider.AddAsync(e4);
        }
        private async Task WriteOutput(EksCreateJobOutputEntity e)
        {
            await using (_ContentDbContext.BeginTransaction())
            {
                await _ContentDbContext.AddAsync(e);

                _ContentDbContext.SaveAndCommit();
            }
        }
Exemplo n.º 3
0
        public async Task Execute(RiskCalculationConfigArgs args)
        {
            var e = new RiskCalculationContentEntity
            {
                Release = args.Release
            };
            await _Formatter.Fill(e, args.ToContent());

            await _DbContextProvider.AddAsync(e);
        }
Exemplo n.º 4
0
        public async Task Execute(ResourceBundleArgs args)
        {
            var e = new ResourceBundleContentEntity
            {
                Release = args.Release
            };
            await _Formatter.Fill(e, args.ToContent());

            await _DbContext.AddAsync(e);
        }
Exemplo n.º 5
0
        public async Task Execute(AppConfigArgs args)
        {
            var e = new AppConfigContentEntity
            {
                Release = args.Release
            };
            await _Formatter.Fill(e, args.ToContent());

            await _DbContext.AddAsync(e);
        }