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