When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code! (see $code for more information on how to paste your code)
@Pobiega Thanks for the help! Great to know about the debug part I simplify it by using a simple int its working now. I can later on get more details from the user session that would be fine !