Пример #1
0
 public void OnActionExecuted(ActionExecutedContext filterContext)
 {
     try
     {
         if (filterContext.Result.GetType() == typeof(ViewResult))
         {
             TimeUtils.ConvertAllMembersToLocal(((ViewResult)filterContext.Result).Model);
         }
     }
     catch (Exception ex)
     {
         Log.Warn("Error in timezone post-processing", ex);
     }
 }