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

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

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