Ho il seguente condizioneQual è il modo migliore per testare una RedirectToAction?
if (_ldapAuthentication.IsAuthenticated (Domain, login.username, login.PassWord))
{
_ldapAuthentication.LogOn (indexViewModel.UserName, false);
_authenticationService.LimpaTentativas (login.username);
return RedirectToAction ("Index", "Main");
}
essere vero, reindirizza a un'altra pagina .. che cosa sarebbe meglio fare un test?