Exemplo n.º 1
0
        public HomePageViewModelBuilder(IMagazineService magazineService)
        {
            Guard.ArgumentNotNull(magazineService, "MagazineService");

            _magazineService = magazineService;
            _numOfPage       = ConfigurationManager.GetAppConfigBy("NumOfPage").ToInteger();
        }
Exemplo n.º 2
0
 public HomeController(
     IMapper mapper,
     IArticleService articleService,
     IMagazineService magazineService)
 {
     _articleService  = articleService;
     _magazineService = magazineService;
     _mapper          = mapper;
 }
Exemplo n.º 3
0
 public MagazinesController(
     IMagazineService magazineService,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _magazineService = magazineService;
     _mapper          = mapper;
     _appSettings     = appSettings.Value;
 }
Exemplo n.º 4
0
 public HomeController(
     IMagazineService magazineService,
     IArticleService articleService,
     IMuseumService museumService,
     IMapper mapperService)
 {
     _magService     = magazineService;
     _articleService = articleService;
     _museumService  = museumService;
     _mapper         = mapperService;
 }
Exemplo n.º 5
0
 public MagazineController(
     IMagazineService magazineService,
     IArticleService articleService,
     IMagazineCategoryService magazineCategoryService,
     IGeneralService generalService,
     IMapper mapperService)
 {
     _magService     = magazineService;
     _magCatService  = magazineCategoryService;
     _articleService = articleService;
     _generalService = generalService;
     _mapper         = mapperService;
 }
Exemplo n.º 6
0
 public SynonymController(IMagazineService magazineService, IGeneralService generalService, IMapper mapperService)
 {
     _magService     = magazineService;
     _generalService = generalService;
     _mapper         = mapperService;
 }
Exemplo n.º 7
0
 public MagazineController(IMagazineService magazineService)
 {
     _magazineService = magazineService;
 }
        public DashboardController(IMagazineService magazineService)
        {
            Guard.ArgumentNotNull(magazineService, "MagazineService");

            _magazineService = magazineService;
        }
Exemplo n.º 9
0
 public OrderController(IMagazineService magazineService, IMapper mapperService)
 {
     _magService = magazineService;
     _mapper     = mapperService;
 }
Exemplo n.º 10
0
 public MagazineController(IMagazineService magazineService, ILogger <MagazineController> logger)
 {
     _magazineService = magazineService;
     _logger          = logger;
 }