public ArticlesController(LittleSpoonDBContext context, IHostingEnvironment env) { _context = context; _env = env; // Set path to file that holds the article transitions for training the ML // note - make sure that the "Copy to Output Directory" property of the file is set to "Copy Always" _articlesTransitionDataPath = System.IO.Path.Combine(_env.WebRootPath, "ml", "articles-transition-data.txt"); }
public StatisticssController(LittleSpoonDBContext context) { _context = context; }
public SearchController(LittleSpoonDBContext context) { _context = context; }
public HomeController(LittleSpoonDBContext context) { _context = context; }
public CategoriesController(LittleSpoonDBContext context) { _context = context; }
public CommentsController(LittleSpoonDBContext context) { _context = context; }