public PostPaymentController() { postPaymentService = ServiceFactory.GetService <IPostPaymentService>(); }
public PostPaymentController(IPostPaymentService testSvc) { postPaymentService = testSvc; }
public HomeController(IPostPaymentService service) { _service = service; _service.Register(this); }