public void Setup() { _context = new SkillTrackerEntities(); unitOfWork = new UnitOfWork(_context); associatesRepository = new AssociatesRepository(_context); associatesService = new AssociatesService(unitOfWork, associatesRepository); }
public void DisposeAllObjects() { _context = null; unitOfWork = null; associatesService = null; associatesService = null; }
public void SetUp() { _context = new SkillTrackerEntities(); _unitOfWork = new UnitOfWork(_context); _associatesRepository = new AssociatesRepository(_context); _associatesService = new AssociatesService(_unitOfWork, _associatesRepository); _logManager = new LogManager(); }
public void DisposeAllObjects() { _context = null; _unitOfWork = null; _associatesRepository = null; _associatesService = null; _logManager = null; if (_response != null) { _response.Dispose(); } }
public void Cleanup(BenchmarkContext context) { _context = null; _unitOfWork = null; _associatesRepository = null; _associatesService = null; _logManager = null; if (_response != null) { _response.Dispose(); } }
public AssociateController(IAssociatesService associatesService, ILogManager logManager) { _associatesService = associatesService; _logManager = logManager; }