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