예제 #1
0
        public List <Group> GetGroups()
        {
            var groupOperation = new GroupOperation(connection);

            return(groupOperation.GetGroups());
        }
예제 #2
0
        public void DeleteGroup(Group group)
        {
            var groupOperation = new GroupOperation(connection);

            groupOperation.Delete(group);
        }
예제 #3
0
        public long SaveGroup(Group group)
        {
            var groupOperation = new GroupOperation(connection);

            return(groupOperation.Save(group));
        }
예제 #4
0
        public void UpdateGroup(Group group)
        {
            var groupOperation = new GroupOperation(connection);

            groupOperation.Update(group);
        }
예제 #5
0
        public long?GetGroupIdByName(string name)
        {
            var groupOperation = new GroupOperation(connection);

            return(groupOperation.GetGroupIdByName(name));
        }