Example #1
0
 public static RedirectToActionResult NotifyError(this RedirectToActionResult result, string message, string title)
 {
     Message = Noty.Error(message, title);
     return(result);
 }
Example #2
0
 public static ViewResult NotifySuccess(this ViewResult result, string message)
 {
     Message = Noty.Success(message);
     return(result);
 }
Example #3
0
 public static RedirectToActionResult NotifySuccess(this RedirectToActionResult result, string message)
 {
     Message = Noty.Success(message);
     return(result);
 }
Example #4
0
 public static void NotifyError(string message, string title) => Message = Noty.Error(message, title);
Example #5
0
 public static void NotifySuccess(string message) => Message             = Noty.Success(message);
Example #6
0
 public static RedirectResult NotifyError(this RedirectResult result, string message)
 {
     Message = Noty.Error(message);
     return(result);
 }
Example #7
0
 public static ViewResult NotifyError(this ViewResult result, string message, string title)
 {
     Message = Noty.Error(message, title);
     return(result);
 }