public EditorController(ISitesCategory sitesRepository, IallSites allSites, AppDBContent content) { _sitesCategory = sitesRepository; _allSites = allSites; _content = content; obj.AllCategory = _sitesCategory.AllCategories; }
public EditorController(ISitesCategory sitesRepository, IAllSites allSites, AppDBContent content, IHostingEnvironment hostingEnvironment) { _sitesCategory = sitesRepository; _allSites = allSites; _content = content; obj.AllCategory = _sitesCategory.AllCategories; _hostingEnvironment = hostingEnvironment; }
public SiteController(IallSites allSites, ISitesCategory sitesCategory) { _allSites = allSites; _sitesCategory = sitesCategory; }
public TestController(AppDBContent context, IWebHostEnvironment hostEnvironment, ISitesCategory category) { dbContext = context; webHostEnvironment = hostEnvironment; _category = category; }
public HomeController(ISitesCategory sitesRepository, IallSites allSites, AppDBContent context) { _content = context; _sitesCategory = sitesRepository; _allSites = allSites; }