// constructor public ProductInfoController() { objectProvider = objectProvider == null ? new ObjectProvider() : objectProvider; unitOfWorkExt = unitOfWorkExt == null ? objectProvider.UnitOfWorkBcmyExternal : unitOfWorkExt; productInfoViewRepository = productInfoViewRepository == null ? unitOfWorkExt.ProductInfoViewRepository : productInfoViewRepository; productConditionRepository = productConditionRepository == null ? unitOfWorkExt.ProductConditionRepository : productConditionRepository; productBrandRepository = productBrandRepository == null ? unitOfWorkExt.ProductBrandRepository : productBrandRepository; productCategoryRepository = productCategoryRepository == null ? unitOfWorkExt.ProductCategoryRepository : productCategoryRepository; }
/// <summary> /// constructor /// </summary> public ExternalProductsTesting() { objectProvider = new ObjectProvider(); unitOfWorkExt = objectProvider.UnitOfWorkBcmyExternal; productInfoViewRepository = unitOfWorkExt.ProductInfoViewRepository; }