I have a controller method in ASP.NET MVC that looks like this:
public ActionResult GetAlbumPictures(int albumId) { var album = AlbumRepo.GetSingle(album
You can intercept the request before it hits the controller in Application_BeginRequest in your global.asax. You won't have access to the MVC contexts though, but could use
Server.Transfer(...);
or
Response.Redirect(...); Response.End();