When in need of redirecting the user on client-side (e.g. when in ajax actions),
Most of the developers choose the easy way and just return a JavascriptResult('window.location = ...')
and passing to it Url.Action(...)
.
- Testability: There are several ways that the above approach makes unit-testing difficult (if not impossible).