public static RedirectToActionResult NotifyError(this RedirectToActionResult result, string message, string title)
 {
     Message = Noty.Error(message, title);
     return(result);
 }
 public static ViewResult NotifySuccess(this ViewResult result, string message)
 {
     Message = Noty.Success(message);
     return(result);
 }
 public static RedirectToActionResult NotifySuccess(this RedirectToActionResult result, string message)
 {
     Message = Noty.Success(message);
     return(result);
 }
 public static void NotifyError(string message, string title) => Message = Noty.Error(message, title);
 public static void NotifySuccess(string message) => Message             = Noty.Success(message);
 public static RedirectResult NotifyError(this RedirectResult result, string message)
 {
     Message = Noty.Error(message);
     return(result);
 }
 public static ViewResult NotifyError(this ViewResult result, string message, string title)
 {
     Message = Noty.Error(message, title);
     return(result);
 }