예제 #1
0
 public ClientsService(IRepository <Client> clientRepository
                       , ICacheService Cache
                       , IDomainEdit Edits
                       , IRule RulesFactory)
     : base(clientRepository, Cache, null, RulesFactory)
 {
 }
예제 #2
0
 public TestServicesError(IRepository <TestEntityError> Repos
                          // , ICacheService cacheService
                          , IDomainEdit Edits
                          , IRule RulesFactory)
     : base(Repos, null, Edits, RulesFactory)
 {
 }
예제 #3
0
 public CategoriesService(IRepository <Category> categoriesRepository
                          , ICacheService Cache
                          , IDomainEdit Edits
                          , IRule RulesFactory)
     : base(categoriesRepository, Cache, null, RulesFactory)
 {
 }
예제 #4
0
 public SubCategoryClassItemService(IRepository <SubCategoryClassItem> Repos
                                    , ICacheService Cache
                                    , IDomainEdit Edits
                                    , IRule Rules)
     : base(Repos, Cache, Edits, Rules)
 {
 }
예제 #5
0
        public SubCategoriesService(IRepository <SubCategory> subCategoryRepository
                                    , ICacheService Cache
                                    , IDomainEdit Edits
                                    , IRule Rules
                                    )

            : base(subCategoryRepository, Cache, Edits, Rules)
        {
        }
예제 #6
0
        /// <summary>
        /// BaseService
        /// Base for all repositories
        /// </summary>
        /// <param name="Repos"></param>
        /// <param name="Edits"></param>
        /// <param name="Rules"></param>
        protected BaseService(IRepository <T> Repos
                              , ICacheService Cache
                              , IDomainEdit Edits
                              , IRule Rules
                              // , IUser User
                              )
        {
            this._Repos = Repos;
            this._Edits = Edits;
            this._Rules = Rules;
            this._Cache = Cache;

            if (_Rules == null)
            {
                RulesEnabled = false;
            }

            InitilizeServicesModules();
        }
예제 #7
0
 public SubCategoryTypesService(IRepository <SubCategoryType> subCategoryTypeRepository
                                , ICacheService Cache
                                , IDomainEdit Edits)
     : base(subCategoryTypeRepository, Cache, Edits, null)
 {
 }
예제 #8
0
 public CustomerService(IRepository <Customer> customerRepository
                        , ICacheService Cache
                        , IDomainEdit Edits)
     : base(customerRepository, Cache, Edits, null)
 {
 }
예제 #9
0
 public TestServices(IRepository <T> Repos
                     , IDomainEdit Edits
                     , IRule RulesFactory)
     : base(Repos, null, Edits, RulesFactory)
 {
 }