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