public EditNewsController(IAllNews iAllNews, INewsCategory iNewsCategory, IHubContext <NewsHub> hubContext, UserManager <User> userManager)
 {
     _allNews       = iAllNews;
     _allCategories = iNewsCategory;
     _hubContext    = hubContext;
     _userManager   = userManager;
 }
 public CategoryController(INewsCategory icategory)
 {
     allCategory = icategory;
 }
 public CategoryController(INewsCategory iNewsCategory)
 {
     _allCategories = iNewsCategory;
 }
Beispiel #4
0
 public NewsController(IAllNews iAllNews, INewsCategory iNewsCategory)
 {
     _allNews          = iAllNews;
     _AllNewsCategorys = iNewsCategory;
 }
Beispiel #5
0
#pragma warning restore IDE0052 // Удалить непрочитанные закрытые члены

        public NewsController(IAllNews iAllNews, INewsCategory iNewsCat)
        {
            _allNEws       = iAllNews;
            _allCategories = iNewsCat;
        }