मैं निम्नलिखित शर्तRedirectToAction का परीक्षण करने का सबसे अच्छा तरीका क्या है?
if (_ldapAuthentication.IsAuthenticated (Domain, login.username, login.PassWord))
{
_ldapAuthentication.LogOn (indexViewModel.UserName, false);
_authenticationService.LimpaTentativas (login.username);
return RedirectToAction ("Index", "Main");
}
सच जा रहा है, यह अन्य पृष्ठ पर रीडायरेक्ट है .. क्या एक परीक्षण करने के लिए सबसे अच्छा होगा?