public UserController(QuickKartContext context) { _context = context; repObj = new QuickKartRepository(_context); }
public PurchaseController(QuickKartContext context, IMapper mapper) { _context = context; repObj = new QuickKartRepository(_context); _mapper = mapper; }
public QuickKartRepository(QuickKartContext context) { _context = context; }