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))); }
public static ContentResult OverTenantStorageSize(Context context, decimal?maxSize) { var result = Get(ApiResponses.OverTenantStorageSize( context: context, maxSize: maxSize)); return(result); }
public static ContentResult Success(long id, string message, int?limitPerDate = null, int?limitRemaining = null) { if (limitPerDate == 0) { limitPerDate = null; limitRemaining = null; } return(Get(ApiResponses.Success( id: id, message: message, limitPerDate: limitPerDate, limitRemaining: limitRemaining))); }
public static ContentResult Forbidden(Context context) { return(Get(ApiResponses.Forbidden(context: context))); }
public static ContentResult Unauthorized(Context context) { return(Get(ApiResponses.Unauthorized(context: context))); }
public static ContentResult BadRequest(Context context) { return(Get(ApiResponses.BadRequest(context: context))); }
public static ContentResult Success(long id, string message) { return(Get(ApiResponses.Success(id, message))); }
public static ContentResult Unauthorized() { return(Get(ApiResponses.Unauthorized())); }
public static ContentResult BadRequest() { return(Get(ApiResponses.BadRequest())); }
public static ContentResult Error(Error.Types type, params string[] data) { return(Get(ApiResponses.Error(type, data))); }
public static ContentResult Error(Error.Types type) { return(Get(ApiResponses.Error(type))); }
public static ContentResult NotFound(Context context) { return(Get(ApiResponses.NotFound(context: context))); }