public ProductRespository(AledrogoContext context, ICategoryCache categoryCache)
 {
     _context       = context;
     _categoryCache = categoryCache;
 }
 public AddressRespository(IMapper mapper, AledrogoContext context)
 {
     _mapper  = mapper;
     _context = context;
 }
Example #3
0
 public CategoryCache(AledrogoContext context)
 {
     _context = context;
     LoadFromDatabase();
 }
Example #4
0
 public UserRepository(SignInManager <User> signInManager, UserManager <User> userManager, AledrogoContext context)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _context       = context;
 }