public void add(cfgVedio cv)
        {
            cv.inpdate = DateTime.Now;
            cv.valid   = 1;
            db.cfgVedio.Add(cv);

            db.SaveChanges();
        }
 public GamePostViewModel()
 {
     vedio    = new VedioRecord();
     gamepost = new GamePosts();
     game     = new gameDto();
     cfgVedio = new cfgVedio();
     TeamA    = new Teams();
     TeamB    = new Teams();
     PlayGame = new cfgPlayGame();
 }