public AttributeTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache cache, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, null, ent_serv_fact)
 {
     _cache          = cache;
     _repo_attr_type = _data_repository_factory.GetDataRepository <IAttributeTypeRepository>();
     _attr_type_es   = _entity_service_factory.GetEntityService <IAttributeTypeEntityService>();
     GetTypes();
 }
Beispiel #2
0
 public ListManager(IListRepository listRepository, IAddressTypeEntityService addressTypeEntityService,
                    IAttributeTypeEntityService attributeTypeEntityService, IEmployeeTypeEntityService employeeTypeEntityService,
                    IEntityTypeEntityService entityTypeEntityService, IProductTypeEntityService productTypeEntityService)
 {
     _listRepository             = listRepository;
     _addressTypeEntityService   = addressTypeEntityService;
     _attributeTypeEntityService = attributeTypeEntityService;
     _employeeTypeEntityService  = employeeTypeEntityService;
     _entityTypeEntityService    = entityTypeEntityService;
     _productTypeEntityService   = productTypeEntityService;
 }