Example #1
0
 public UserInfo(GC_WebClockContext context, HttpContext httpContext, ClaimsPrincipal user)
 {
     _context     = context;
     _httpContext = httpContext;
     _user        = user;
     dbService    = new DBService(_context);
 }
Example #2
0
 public DBService(GC_WebClockContext context)
 {
     dbContext = context;
 }
Example #3
0
 // public static dynamic allLocations;
 public WebClockApiController(GC_WebClockContext context)
 {
     _context  = context;
     dbService = new DBService(_context);
 }
Example #4
0
 //UserInfo userInfo;
 public ClockGenerator(GC_WebClockContext context)
 {
     _context  = context;
     dbService = new DBService(_context);
     //userInfo = new UserInfo(_context, HttpContext, User);
 }