Ejemplo n.º 1
0
        public List <Group> GetGroups()
        {
            var groupOperation = new GroupOperation(connection);

            return(groupOperation.GetGroups());
        }
Ejemplo n.º 2
0
        public void DeleteGroup(Group group)
        {
            var groupOperation = new GroupOperation(connection);

            groupOperation.Delete(group);
        }
Ejemplo n.º 3
0
        public long SaveGroup(Group group)
        {
            var groupOperation = new GroupOperation(connection);

            return(groupOperation.Save(group));
        }
Ejemplo n.º 4
0
        public void UpdateGroup(Group group)
        {
            var groupOperation = new GroupOperation(connection);

            groupOperation.Update(group);
        }
Ejemplo n.º 5
0
        public long?GetGroupIdByName(string name)
        {
            var groupOperation = new GroupOperation(connection);

            return(groupOperation.GetGroupIdByName(name));
        }