Esempio n. 1
0
 public static CaseWrapper SearchCases(string query, int page = 1, int perPage = 20)
 {
     return(CaseResource.SearchCasesAsync(query, page, perPage).Result);
 }
Esempio n. 2
0
 public static CaseWrapper List(DateTime?since = null, int page = 1, int perPage = 20, Embed[] embed = null)
 {
     return(CaseResource.ListAsync(since, page, perPage, embed).Result);
 }
Esempio n. 3
0
 public static CaseWrapper ListDeleted(DateTime since)
 {
     return(CaseResource.ListDeletedAsync(since).Result);
 }
Esempio n. 4
0
 public static Case Update(long partyId, Case party)
 {
     return(CaseResource.UpdateAsync(partyId, party).Result);
 }
Esempio n. 5
0
 public static bool Delete(long partyId)
 {
     return(CaseResource.DeleteAsync(partyId).Result);
 }
Esempio n. 6
0
 public static Case Create(Case party)
 {
     return(CaseResource.CreateAsync(party).Result);
 }
Esempio n. 7
0
 public static CaseWrapper ShowMultiple(string[] partyIds, Embed[] embed = null)
 {
     return(CaseResource.ShowMultipleAsync(partyIds, embed).Result);
 }
Esempio n. 8
0
 public static bool DeleteAdditionalParty(long caseId, long partyId)
 {
     return(CaseResource.DeleteAdditionalPartyAsync(caseId, partyId).Result);
 }
Esempio n. 9
0
 public static PartyWrapper ListAdditionalParties(long caseId, int page = 1, int perPage = 20, Embed[] embed = null)
 {
     return(CaseResource.ListAdditionalPartiesAsync(caseId, page, perPage, embed).Result);
 }
Esempio n. 10
0
 public static Case Show(long partyId, Embed[] embed = null)
 {
     return(CaseResource.ShowAsync(partyId, embed).Result);
 }