Exemplo n.º 1
0
 public int Add(Model.InGroup inGroup)
 {
     using (WebPortalEntities dataEntities = new WebPortalEntities())
     {
         dataEntities.AddToInGroups(inGroup);
         return dataEntities.SaveChanges();
     }
 }