public static T GetValue <T>(this IActionResult actionResult) { return((T)actionResult.GetObjectResult().Value); }