Esempio n. 1
0
        public static Person GetCurrentPerson(this ApiController controller)
        {
            var providerKey = (Guid)Membership.GetUser().ProviderUserKey;
            var person      = PersonProvider.GetByUserId(providerKey);

            return(person);
        }