public static DoYouNowTheseContext GetInstance()
 {
     if (context == null)
     {
         _context = new DoYouNowTheseContext();
         context  = _context;
     }
     return(context);
 }
 public CategoryOperation(DoYouNowTheseContext _context)
 {
     context = _context;
 }
 public InformationContentOperation(DoYouNowTheseContext _context)
 {
     context = _context;
     informationReadLogOperation = new InformationReadLogOperation(context);
 }
Beispiel #4
0
 public MyExceptionFilter()
 {
     dbcontext            = new DoYouNowTheseContext();
     errorEntityOperation = new ErrorEntityOperation(dbcontext);
 }
 public InformationReadLogOperation(DoYouNowTheseContext _context)
 {
     context = _context;
 }
Beispiel #6
0
 public CategoryController()
 {
     context           = new DoYouNowTheseContext();
     categoryOperation = new CategoryOperation(context);
 }
 public ErrorEntityOperation(DoYouNowTheseContext _context)
 {
     context = _context;
 }
Beispiel #8
0
 public AppUserOperation(DoYouNowTheseContext _context)
 {
     context = _context;
 }
Beispiel #9
0
 public AppUserController()
 {
     db = new DoYouNowTheseContext();
     appUserOperation = new AppUserOperation(db);
 }
Beispiel #10
0
 public InformationController(IHostingEnvironment environment)
 {
     _env = environment;
     db   = new DoYouNowTheseContext();
     informationContentOperation = new InformationContentOperation(db);
 }