public void Dispose() { if (_EmployeeRepository != null) { _EmployeeRepository.Dispose(); } if (_JobRepository != null) { _JobRepository.Dispose(); } if (_CustomerRepository != null) { _CustomerRepository.Dispose(); } if (_DepartmentRepository != null) { _DepartmentRepository.Dispose(); } if (_FocalPointRepository != null) { _FocalPointRepository.Dispose(); } if (_ProjectTypeRepository != null) { _ProjectTypeRepository.Dispose(); } if (_TechnologyRepository != null) { _TechnologyRepository.Dispose(); } if (_ProjectRepository != null) { _ProjectRepository.Dispose(); } if (_ProjectTechnologyRepository != null) { _ProjectTechnologyRepository.Dispose(); } if (_ExperienceRepository != null) { _ExperienceRepository.Dispose(); } if (_ExperienceTechnologyRepository != null) { _ExperienceTechnologyRepository.Dispose(); } if (_CompanyRepository != null) { _CompanyRepository.Dispose(); } if (_UserRepository != null) { _UserRepository.Dispose(); } if (_RoleRepository != null) { _RoleRepository.Dispose(); } }
public void Dispose() { _taskRepository.Dispose(); }