예제 #1
0
        public async Task Execute(string[] args)
        {
            if (args.Length == 0)
            {
                _Logger.LogInformation("Start.");

                _Logger.LogInformation("Workflow...");
                await _Workflow.AddExampleContent();

                _Logger.LogInformation("Content...");
                await _Content.AddExampleContent();

                _Logger.LogInformation("Complete.");

                return;
            }

            await _WriteFromFile.Execute(args);
        }
        public async Task Execute()
        {
            _Logger.LogInformation("Start.");

            _Logger.LogInformation("Workflow...");
            await _Workflow.Execute();

            await _Workflow.AddExampleContent();

            _Logger.LogInformation("Content...");
            await _Content.Execute();

            await _Content.AddExampleContent();

            _Logger.LogInformation("Job...");
            await _Job.Execute();

            _Logger.LogInformation("Icc...");
            await _Icc.Execute();

            //await _Icc.AddExampleContent();

            _Logger.LogInformation("Complete.");
        }