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