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