public CustomerController(CreditCardContext context, IWebHostEnvironment environment, ICalculateCreditCard calculateCreditCard, ICustomerRepository customerRepository, ICardDetailsRepository cardDetailsRepository ) { _context = context; _hostingEnvironment = environment; _calculateCreditCard = calculateCreditCard; _customerRepository = customerRepository; _cardDetailsRepository = cardDetailsRepository; }
public CreditCardRepository(CreditCardContext context) { _context = context; }
public CardDetailsRepository() { _context = new CreditCardContext(); }
public CardDetailsRepository(CreditCardContext context) { _context = context; }
public GenericRepository(CreditCardContext creditCardContext) { this.creditCardContext = creditCardContext; }
public CreditCardController(CreditCardContext context) { _context = context; }
public CreditCardItemController(CreditCardContext context, ILogger <CreditCardItemController> logger) { _context = context; _logger = logger; }
public CustomerRepository(CreditCardContext context) { _context = context; }
public CustomerRepository() { _context = new CreditCardContext(); }