Пример #1
0
        public OperationResponse <SeasonMapCommandOutput> Execute(SeasonMapCommandInput input)
        {
            var result = new OperationResponse <SeasonMapCommandOutput>();

            try
            {
                using (var dbContextScope = this.DbContextScopeFactory.Create())
                {
                    var quote = this.Repository.GetByFunzaId(input.FunzaId);

                    if (quote != null)
                    {
                    }
                    else
                    {
                    }
                }
            }
            catch (Exception ex)
            {
                throw;
            }

            return(result);
        }
Пример #2
0
        public IActionResult MapSeason(InternalBridgeCreateQuoteInput model, [FromServices] ISeasonMapCommand seasonMapCommand)
        {
            var input = new SeasonMapCommandInput {
            };

            var result = this.SeasonMapCommand.Execute(input);

            return(this.Ok(result));
        }