Beispiel #1
0
 public ArticleService(ISysLogRespository sysLogRespository, IArticleRespository respository,
                       IArticleCategoryRespository articleCategoryRespository
                       )
 {
     _LogRespository             = sysLogRespository;
     _Respository                = respository;
     _ArticleCategoryRespository = articleCategoryRespository;
 }
 public ArticleCategoryService(ISysLogRespository sysLogRespository, IArticleCategoryRespository ArticleCategoryRespository,
                               ISysModuleService sysModuleService,
                               ISysModuleButtonService sysModuleButtonService
                               )
 {
     _LogRespository         = sysLogRespository;
     _Respository            = ArticleCategoryRespository;
     _SysModuleService       = sysModuleService;
     _SysModuleButtonService = sysModuleButtonService;
 }
 public ArticleService(ISysLogRespository sysLogRespository, IArticleRespository respository,
                       IArticleCategoryRespository articleCategoryRespository, IMemberRespository memberService,
                       IArticleCategoryService articleCategoryService
                       )
 {
     _LogRespository             = sysLogRespository;
     _Respository                = respository;
     _ArticleCategoryRespository = articleCategoryRespository;
     _IMemberRespository         = memberService;
     _IArticleCategoryService    = articleCategoryService;
     _logger = CoreContextProvider.GetLogger("ArticleService");
 }
Beispiel #4
0
 public ArticleRespository(ISkyMallDbContext skyMallDbContext,
                           IArticleCategoryRespository articleCategoryRespository) : base(skyMallDbContext)
 {
     _ArticleCategoryRespository = articleCategoryRespository;
 }
 public ArticleCategoryService(ISysLogRespository sysLogRespository, IArticleCategoryRespository ArticleCategoryRespository
                               )
 {
     _LogRespository = sysLogRespository;
     _Respository    = ArticleCategoryRespository;
 }