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; }
public BaseParameter(IOperationOutcome operationOutcome, IMapper mapper) { ErrorBag = operationOutcome; Mapper = mapper; }
public BaseController(IOperationOutcome operationOutcome) { OperationOutcome = operationOutcome; }