// Dependency injection! No need to use using,
 // ASP.NET Core will care of disposing of context
 public LearnableManager(LanguageLearnerContext context)
 {
     _context = context;
 }
예제 #2
0
 // Dependency injection! No need to use using,
 // ASP.NET Core will care of disposing of context
 public CourseManager(LanguageLearnerContext context)
 {
     _context = context;
 }
 // Dependency injection! No need to use using,
 // ASP.NET Core will care of disposing of context
 public ResultsManager(LanguageLearnerContext context)
 {
     _context = context;
 }