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