Beispiel #1
0
 public HomeController(IItemsDetailRepository itemsDetailSevice, IItemsRepository itemsService, IAppModuleRepository appModuleService)
 {
     // this.iRedisHelper = iRedisHelper;
     this._itemsDetailSevice = itemsDetailSevice;
     this._itemsService      = itemsService;
     this._appModuleService  = appModuleService;
 }
Beispiel #2
0
 // GET: App
 public AppController(IItemsDetailRepository itemsDetailRepository,
                      IArticleRepository articleRepository,
                      IReviewRepository reviewRepository,
                      IGuestBookRepository gusetbookRepository,
                      IAppUserAuthRepository appAuthRepository,
                      IAppUserRepository appUserRepository,
                      IRedisHelper iredisHelper
                      )
 {
     this._itemsDetailRepository = itemsDetailRepository;
     this._articleRepository     = articleRepository;
     this._reviewRepository      = reviewRepository;
     this._gusetbookRepository   = gusetbookRepository;
     this._iredisHelper          = iredisHelper;
     this._appAuthRepository     = appAuthRepository;
     this._appUserRepository     = appUserRepository;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="logService"></param>
 public ItemsDetailService(IItemsDetailRepository repository, ILogService logService, IItemsService _itemsService) : base(repository)
 {
     _repository  = repository;
     _logService  = logService;
     itemsService = _itemsService;
 }
Beispiel #4
0
 public ItemsDetailService(IItemsDetailRepository repository) : base(repository)
 {
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="mapper"></param>
 public ItemsDetailService(IItemsDetailRepository repository, IMapper mapper) : base(repository, mapper)
 {
     this._repository = repository;
     this._mapper     = mapper;
 }
 public ItemsDetailApp(IItemsDetailRepository service)
 {
     this.service = service;
 }
 public ArticleController(IArticleRepository articleRepository, IItemsDetailRepository itemsDetailRepository, IComponentContext container) : base(container)
 {
     this._articleRepository     = articleRepository;
     this._itemsDetailRepository = itemsDetailRepository;
 }
 public ItemsDetailApp(IItemsDetailRepository itemsDetailRepository, IItemsRepository itemsRepository)
 {
     this.service      = itemsDetailRepository;
     this.itemsService = itemsRepository;
 }
Beispiel #9
0
 public ItemsDetailService(IItemsDetailRepository itemsDetailRepository)
 {
     this._itemsDetailRepository = itemsDetailRepository;
 }
Beispiel #10
0
 public ItemService(IItemRepository itemRepository, IItemsDetailRepository itemsDetailRepository) : base(itemRepository)
 {
     _itemRepository        = itemRepository;
     _itemsDetailRepository = itemsDetailRepository;
 }
 public ItemsDetailController(IItemsDetailRepository itemsDetailRepository, IComponentContext container) : base(container)
 {
     this._itemsDetailRepository = itemsDetailRepository;
 }