I am trying to convert the
ERRORCODE to String with ASP.NET MVC5,
with ASP.NET MVC3 we can convert the error code to String using this code:
// Attempt to register the user MembershipCreateStatus createStatus; ErrorCodeToString(createStatus);
but with ASP.NET MVC5, it shows an error using the
ErrorCodeToString because it is undefined.
Is there a new way?