Esempio n. 1
0
        public PagesController(IPageService pageService, ICategoryService categoryService, ISearchManager searchManager)
        {
            _pageService = pageService;
            _pageService.CheckArgumentIsNull(nameof(_pageService));

            _categoryService = categoryService;
            _categoryService.CheckArgumentIsNull(nameof(_categoryService));

            _searchManager = searchManager;
            _searchManager.CheckArgumentIsNull(nameof(_searchManager));
        }