Beispiel #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);
        }
 public PaymentController(IOperationOutcome operationOutcome, IPaymentService paymentService) : base(operationOutcome)
 {
     PaymentService = paymentService;
 }
Beispiel #3
0
 public BaseParameter(IOperationOutcome operationOutcome, IMapper mapper)
 {
     ErrorBag = operationOutcome;
     Mapper   = mapper;
 }
Beispiel #4
0
 public BaseController(IOperationOutcome operationOutcome)
 {
     OperationOutcome = operationOutcome;
 }