Exemple #1
0
        public group getGroup(string id)
        {
            group gr = database.groups.First(data => data.idgroups == id);

            return(gr);
        }
Exemple #2
0
        public void deleteGroup(string id)
        {
            group gr = database.groups.First(data => data.idgroups == id);

            database.groups.Remove(gr);
        }
Exemple #3
0
 public void insertGroup(ref group gr)
 {
     database.groups.Add(gr);
     database.SaveChanges();
 }