Esempio n. 1
0
 public AccountBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _acct_repo           = _data_repository_factory.GetDataRepository <IAccountRepository>();
     _acct_es             = _entity_service_factory.GetEntityService <IAccountEntityService>();
     _account_type_be     = _business_engine_factory.GetBusinessEngine <IAccountTypeBusinessEngine>();
     _address_be          = _business_engine_factory.GetBusinessEngine <IAddressBusinessEngine>();
     _entity_attribute_be = _business_engine_factory.GetBusinessEngine <IEntityAttributeBusinessEngine>();
     _fee_schedule_be     = _business_engine_factory.GetBusinessEngine <IFeeScheduleBusinessEngine>();
     _account_employee_be = _business_engine_factory.GetBusinessEngine <IAccountEmployeeBusinessEngine>();
     _contact_be          = _business_engine_factory.GetBusinessEngine <IContactBusinessEngine>();
     _comment_be          = _business_engine_factory.GetBusinessEngine <ICommentBusinessEngine>();
 }
        public List <AccountType> GetAccountTypeList()
        {
            IAccountTypeBusinessEngine account_type_be = _business_engine_factory.GetBusinessEngine <IAccountTypeBusinessEngine>();

            return(account_type_be.GetTypes());
        }