예제 #1
0
 public static FeatureResult Info(this FeatureResult result, string message)
 {
     result.AddMessage(FlashMessageType.Info, message);
     return(result);
 }
예제 #2
0
 public static FeatureResult Alert(this FeatureResult result, string message)
 {
     result.AddMessage(FlashMessageType.Warning, message);
     return(result);
 }
예제 #3
0
 public static FeatureResult Danger(this FeatureResult result, string message)
 {
     result.AddMessage(FlashMessageType.Danger, message);
     return(result);
 }
예제 #4
0
 public static FeatureResult Success(this FeatureResult result, string message)
 {
     result.AddMessage(FlashMessageType.Confirmation, message);
     return(result);
 }