Exemplo n.º 1
0
 public PostPaymentController()
 {
     postPaymentService = ServiceFactory.GetService <IPostPaymentService>();
 }
Exemplo n.º 2
0
 public PostPaymentController(IPostPaymentService testSvc)
 {
     postPaymentService = testSvc;
 }
 public HomeController(IPostPaymentService service)
 {
     _service = service;
     _service.Register(this);
 }