public CategoryRepository(ApplicationDbContext dbContext, IMapper mapper, IStoredProcedureRepositoryBase storedProcedureRepositoryBase ) : base(dbContext) { _mapper = mapper; _dbContext = dbContext; _storedProcedureRepository = storedProcedureRepositoryBase; }
public CartRepository(ApplicationDbContext context, IStoredProcedureRepositoryBase storedProcedureRepository, IMapper mapper, RoleManager <Role> roleManager ) : base(context) { _context = context; _storedProcedureRepository = storedProcedureRepository; _mapper = mapper; _roleManager = roleManager; }
public UserRepository(ApplicationDbContext context, IStoredProcedureRepositoryBase storedProcedureRepository, UserManager <ApplicationUser> user, IMapper mapper, RoleManager <Role> roleManager ) : base(context) { _mapper = mapper; _user = user; _context = context; _storedProcedureRepository = storedProcedureRepository; _roleManager = roleManager; }
public ProductRepository(ApplicationDbContext context, IStoredProcedureRepositoryBase storedProcedureRepository, IMapper mapper, RoleManager <Role> roleManager ) : base(context) { _context = context; _storedProcedureRepository = storedProcedureRepository; _mapper = mapper; _roleManager = roleManager; _fileOperations = new FileOperationsRepository(); }