예제 #1
0
 public async Task Remove(Empire empire)
 {
     var result = await API
                  .AppendPathSegments("empire", empire.GetHashId())
                  .DeleteAsync();
 }
예제 #2
0
 public async Task Add(Empire empire)
 {
     var result = await API
                  .AppendPathSegments("empire", empire.GetHashId())
                  .PostJsonAsync(empire);
 }