public AssociateQueryRepositoryEF(BusinessAssociatesContext context, IMapper mapper) { _context = context; _mapper = mapper; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; }
// ReSharper disable once SuggestBaseTypeForParameter public AssociateRepositoryEF(BusinessAssociatesContext context, ILogger <AssociateRepositoryEF> log, IMapper mapper) { _context = context; _log = log; _mapper = mapper; }