예제 #1
0
        public IPublishedContent Member(string id)
        {
            var asInt = id.TryConvertTo <int>();

            return(asInt ? MembershipHelper.GetById(asInt.Result) : MembershipHelper.GetByProviderKey(id));
        }
예제 #2
0
 public IPublishedContent Member(Guid id)
 {
     return(MembershipHelper.GetByProviderKey(id));
 }