Esempio n. 1
0
 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)));
 }
Esempio n. 2
0
 public static ContentResult Success(long id, string message)
 {
     return(Get(ApiResponses.Success(id, message)));
 }