public override void OnActionExecuting(ActionExecutingContext filterContext)
            {
                Podio.API.Model.Item item = ((ItemController)filterContext.Controller).Client.ItemService.GetItem(Int32.Parse((string)filterContext.RouteData.Values["id"]));
                ((ItemController)filterContext.Controller).Item = item;

                Podio.API.Model.Application app = ((ItemController)filterContext.Controller).Client.ApplicationService.GetApp(Convert.ToInt32(item.App["app_id"]));
                ((ItemController)filterContext.Controller).Application = app;
            }
 public override void OnActionExecuting(ActionExecutingContext filterContext)
 {
     Podio.API.Model.Application app = ((ItemController)filterContext.Controller).Client.ApplicationService.GetApp(Int32.Parse(filterContext.HttpContext.Request.QueryString["app_id"]));
     ((ItemController)filterContext.Controller).Application = app;
 }