string actionName = filterContext.RouteData.Values["action"].ToString(); Type controller = filterContext.Controller.GetType(); var method = controller.GetMethod(actionName); //error 'ambigous match found' var returnType = method.ReturnType;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)