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