Exemple #1
0
        public InvoiceTaskContract Process(GetInvoiceTaskRequest input)
        {
            _query.BuildQuery(new GetInvoiceTask
            {
                Id             = input.Id,
                OrganizationId = input.OrganizationId,
                InvoiceId      = input.InvoiceId
            });

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

                var result = InvoiceTaskMapper.Map(quotetask);

                return(result);
            }
        }
 public override InvoiceTaskBasicContract Map(InvoiceTaskBasicPoco source)
 {
     return(InvoiceTaskMapper.Map(source));
 }