public static PartyWrapper ListEmployees(long partyId, int page = 1, int perPage = 20, Embed[] embed = null) { return(PartyResource.ListEmployeesAsync(partyId, page, perPage, embed).Result); }
public static PartyWrapper ListDeleted(DateTime since) { return(PartyResource.ListDeletedAsync(since).Result); }
public static bool Delete(long partyId) { return(PartyResource.DeleteAsync(partyId).Result); }
public static PartyWrapper List(DateTime?since = null, int page = 1, int perPage = 20, Embed[] embed = null) { return(PartyResource.ListAsync(since, page, perPage, embed).Result); }
public static Party Update(long partyId, Party party) { return(PartyResource.UpdateAsync(partyId, party).Result); }
public static Party Create(Party party) { return(PartyResource.CreateAsync(party).Result); }
public static PartyWrapper ShowMultiple(string[] partyIds, Embed[] embed = null) { return(PartyResource.ShowMultipleAsync(partyIds, embed).Result); }
public static Party Show(long partyId, Embed[] embed = null) { return(PartyResource.ShowAsync(partyId, embed).Result); }
public static PartyWrapper SearchParties(string query, int page = 1, int perPage = 20) { return(PartyResource.SearchPartiesAsync(query, page, perPage).Result); }