public PaymentDetailController(PaymentDetailsContext context)
        {
            /*Where do we pass values for this "context parameter"? There comes the Dependency Injection*/

            /*We dont have to create instance of Dbcontext class explicitly using "new keyword" like we use to do in previous ASP.Net
             * applications --- This is one benefit of using Dependency Injections in our projects */
            _context = context;
        }
 public PaymentDetailController(PaymentDetailsContext context)
 {
     _context = context;
 }
Ejemplo n.º 3
0
 public CreatePaymentDetailsSteps(WebBrowserContext webBrowserContext, PaymentDetailsContext paymentDetailsContext, MockServicesContext mockServicesContext)
 {
     this.webBrowser            = webBrowserContext.NgWebBrowser;
     this.paymentDetailsContext = paymentDetailsContext;
     this.mockServicesContext   = mockServicesContext;
 }
 public PaymentDetailController(PaymentDetailsContext paymentDetailsContext)
 {
     _paymentDetailsContext = paymentDetailsContext;
 }