C Actionresult Not Returning Correct Error Code Stack Overflow

C Actionresult Not Returning Correct Error Code Stack Overflow