public static JRSession Get(JRApiController request) { var sessions = Sessions.Where(s => s.SessionId == request.AuthenticationToken); if (sessions.Any()) { return sessions.First(); } return null; }
public virtual void SessionRequest(JRApiController request) { Request = request; LastRequest = DateTime.Now; }