Exemplo n.º 1
0
 private void PhotoAlbomGroupContent(int groupId)
 {
     if (ChekedGroupContent(groupId, "PhotoAlbom") == 0)
     {
         using (ContextGrabberGroupParametr db = new ContextGrabberGroupParametr())
         {
             GrabberGroupParametr GGP = new GrabberGroupParametr
             {
                 Group_Id        = groupId,
                 ContentParametr = "PhotoAlbom"
             };
             db.GrabberGroupParametrs.Add(GGP);
             db.SaveChanges();
         }
     }
 }
Exemplo n.º 2
0
 private void CellAuditoryGroupContent(int groupId)
 {
     if (ChekedGroupContent(groupId, "CellAuditory") == 0)
     {
         using (ContextGrabberGroupParametr db = new ContextGrabberGroupParametr())
         {
             GrabberGroupParametr GGP = new GrabberGroupParametr
             {
                 Group_Id        = groupId,
                 ContentParametr = "CellAuditory"
             };
             db.GrabberGroupParametrs.Add(GGP);
             db.SaveChanges();
         }
     }
 }