Hi there, I would recommend you to go with your second option and create a new controller. Simply because that way, you can implement your check the 'asp.net' way. It's also easier to follow the logic from your razor view (you can navigate to your implementation with F12 key, which makes it easier to read your code)