public void save(Test t)
 {
     using (TestingPlatformEntities context = new TestingPlatformEntities())
     {
         User u = Session["CurrentUser"] as User;
         t.user_id = u.id;
         context.Test.Add(t);
         context.SaveChanges();
     }
 }