Example #1
0
 public bool VerifySession(string SessionId, DbT10Software _db)
 {
     if (SessionId.IsNullOrEmpty())
     {
         return(false);
     }
     else
     {
         return(_db.Sessions.Where(x => x.Id == SessionId).ToList().Count != 0);
     }
 }
Example #2
0
 public DbSeeder(DbT10Software db)
 {
     _db = db;
 }