/// <summary>
 /// Withes the warning.
 /// </summary>
 /// <param name="result">The result.</param>
 /// <param name="title">The title.</param>
 /// <param name="body">The body.</param>
 /// <returns></returns>
 public static IActionResult WithWarning(this IActionResult result,
                                         String title,
                                         String body)
 {
     return(AlertExtensions.Alert(result, "warning", title, body));
 }
 /// <summary>
 /// Withes the information.
 /// </summary>
 /// <param name="result">The result.</param>
 /// <param name="title">The title.</param>
 /// <param name="body">The body.</param>
 /// <returns></returns>
 public static IActionResult WithInfo(this IActionResult result,
                                      String title,
                                      String body)
 {
     return(AlertExtensions.Alert(result, "info", title, body));
 }
 /// <summary>
 /// Withes the success.
 /// </summary>
 /// <param name="result">The result.</param>
 /// <param name="title">The title.</param>
 /// <param name="body">The body.</param>
 /// <returns></returns>
 public static IActionResult WithSuccess(this IActionResult result,
                                         String title,
                                         String body)
 {
     return(AlertExtensions.Alert(result, "success", title, body));
 }
 /// <summary>
 /// Withes the danger.
 /// </summary>
 /// <param name="result">The result.</param>
 /// <param name="title">The title.</param>
 /// <param name="body">The body.</param>
 /// <returns></returns>
 public static IActionResult WithDanger(this IActionResult result,
                                        String title,
                                        String body)
 {
     return(AlertExtensions.Alert(result, "danger", title, body));
 }