private DBContext() { _accounts = new AccountRepository(); _accountTypes = new AccountTypeRepository(); _audits = new AuditRepository(); _categories = new CategoryRepository(); _containers = new ContainerRepository(); _dimensions = new DimensionRepository(); _facilities = new FacilityRepository(); _facilityTypes = new FacilityTypeRepository(); _priorities = new PriorityRepository(); _users = new UserRepository(); _packagingLevels = new PackagingLevelRepository(); _pictures = new PictureRepository(); _projects = new ProjectRepository(); _ratings = new RatingRepository(); _requests = new RequestRepository(); _requestItems = new RequestItemRepository(); _requestItemTypes = new RequestItemTypeRepository(); _roles = new RoleRepository(); _sources = new SourceRepository(); _status = new StatusRepository(); _status = new StatusRepository(); _tasks = new TaskRespository(); _dcIssueItems = new DCIssueItemRepository(); _dcIssues = new DCIssueRepository(); _dcIssuesFacilities = new DCIssueFacilityRepository(); _failedSamples = new FailedSampleRepository(); _requestCategories = new RequestCategoryRepository(); }
public RequestCategoryService(IRequestCategoryRepository requestCategoryRepository, IUnitOfWork unitOfWork) { this._requestCategoryRepository = requestCategoryRepository; this._unitOfWork = unitOfWork; }
public RequestCategoryController(IRequestCategoryRepository requestCategoryRepository) { _requestCategoryRepository = requestCategoryRepository; }