public MethodInfo GetActionMethodInfo(RestController controller, string actionName)
 {
     return ControllerHelper.GetActions(controller.GetType()).First(m => m.Name == actionName);
 }