示例#1
0
        public QuoteTaskContract Process(GetQuoteTaskRequest input)
        {
            _query.BuildQuery(new GetQuoteTask
            {
                Id             = input.Id,
                OrganizationId = input.OrganizationId,
                QuoteId        = input.QuoteId
            });

            using (DapperUnitOfWork.Begin())
            {
                var quotetask = _runner.Run(_query);

                var result = QuoteTaskMapper.Map(quotetask);

                return(result);
            }
        }
 public override QuoteTaskBasicContract Map(QuoteTaskBasicPoco source)
 {
     return(QuoteTaskMapper.Map(source));
 }