Exemple #1
0
        public List <Group> Get(IEnumerable <int> groupTypeIds)
        {
            _checkInFilterId = DefinedValueCache.Get(Rock.SystemGuid.DefinedValue.GROUPTYPE_PURPOSE_CHECKIN_TEMPLATE).Id;
            var groupTypeService = new GroupTypeService(new Rock.Data.RockContext());
            var groupTypes       = groupTypeService.GetByIds(groupTypeIds.ToList());

            GetValidGroups(groupTypes);
            return(_groups);
        }