Exemple #1
0
 public static ContentResult Error(Context context, ErrorData errorData, params string[] data)
 {
     return(Get(ApiResponses.Error(
                    context: context,
                    errorData: errorData,
                    data: data)));
 }
 public static ContentResult Error(Context context, Error.Types type, params string[] data)
 {
     return(Get(ApiResponses.Error(
                    context: context,
                    type: type,
                    data: data)));
 }
Exemple #3
0
 public static ContentResult Error(Error.Types type, params string[] data)
 {
     return(Get(ApiResponses.Error(type, data)));
 }
Exemple #4
0
 public static ContentResult Error(Error.Types type)
 {
     return(Get(ApiResponses.Error(type)));
 }