public static Person GetCurrentPerson(this ApiController controller) { var providerKey = (Guid)Membership.GetUser().ProviderUserKey; var person = PersonProvider.GetByUserId(providerKey); return(person); }