Esempio n. 1
0
 public EducationalContentController()
 {
     _context = new FarmworkersWebAPI.Entities.FarmWorkerAppContext();
     _context.Configuration.ProxyCreationEnabled = false;
 }
Esempio n. 2
0
 public QuizController()
 {
     _context = new FarmworkersWebAPI.Entities.FarmWorkerAppContext();
 }
Esempio n. 3
0
 public FarmsController()
 {
     _context = new FarmworkersWebAPI.Entities.FarmWorkerAppContext();
     _context.Configuration.LazyLoadingEnabled = false;
 }