Rock.Model.GroupTypeService.GetGuid C# (CSharp) Method

GetGuid() public method

Gets the Guid for the GroupType that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
return Guid?
        public override Guid? GetGuid( int id )
        {
            var cacheItem = Rock.Web.Cache.GroupTypeCache.Read( id );
            if ( cacheItem != null )
            {
                return cacheItem.Guid;
            }

            return null;
        }