Example #1
0
 public ProductController(capstoneContext context, IProductRepository repository, ICategoryRepository categoryRepository, IStoreRepository storeRepository, IMapper mapper)
 {
     _context            = context;
     _repository         = repository;
     _categoryRepository = categoryRepository;
     _storeRepository    = storeRepository;
     _mapper             = mapper;
 }
Example #2
0
 public AccountController(IMapper mapper, capstoneContext context, IAccountRepository accountRepository)
 {
     _mapper            = mapper;
     _context           = context;
     _accountRepository = accountRepository;
 }
Example #3
0
 //constructor
 public CategoryRepository(capstoneContext capstoneContext)
 {
     _capstoneContext = capstoneContext;
 }
Example #4
0
 public AccountRepository(IMapper mapper, capstoneContext capstoneContext)
 {
     _mapper          = mapper;
     _capstoneContext = capstoneContext;
 }
Example #5
0
 public UserTypesController(capstoneContext context)
 {
     _context = context;
 }
Example #6
0
 public SampleCatController(capstoneContext context)
 {
     _context = context;
 }
Example #7
0
 public CategoryController(capstoneContext context, ICategoryRepository repository)
 {
     _context    = context;
     _repository = repository;
 }
Example #8
0
 //constructor
 public StoreRepository(capstoneContext capstoneContext)
 {
     _capstoneContext = capstoneContext;
 }
Example #9
0
 //constructor
 public ProductRepository(capstoneContext capstoneContext)
 {
     _capstoneContext = capstoneContext;
 }
Example #10
0
 public StoreController(capstoneContext context, IStoreRepository repository)
 {
     _context    = context;
     _repository = repository;
 }