I have a simple controller action that simply returns a PartialView. I\'m trying to add some basic security. So, I created a reusable method to check if the current user is in a