Ejemplo n.º 1
0
        private BaseParameter GetBaseParams()
        {
            var m = new MapperConfiguration(c => { c.AddProfile(new PaymentProfile()); });

            operationOutcomeMock = new OperationOutcome();
            mapperMock           = m.CreateMapper();
            baseParmeters        = new BaseParameter(operationOutcomeMock, mapperMock);
            return(baseParmeters);
        }
Ejemplo n.º 2
0
 public PaymentController(IOperationOutcome operationOutcome, IPaymentService paymentService) : base(operationOutcome)
 {
     PaymentService = paymentService;
 }
Ejemplo n.º 3
0
 public BaseParameter(IOperationOutcome operationOutcome, IMapper mapper)
 {
     ErrorBag = operationOutcome;
     Mapper   = mapper;
 }
Ejemplo n.º 4
0
 public BaseController(IOperationOutcome operationOutcome)
 {
     OperationOutcome = operationOutcome;
 }