예제 #1
0
 /// <summary>
 /// Deletes the given model.
 /// </summary>
 /// <param name="model">The model</param>
 public static void Delete(this AliasService service, Alias model)
 {
     service.DeleteAsync(model).GetAwaiter().GetResult();
 }
예제 #2
0
 /// <summary>
 /// Deletes the model with the specified id.
 /// </summary>
 /// <param name="id">The unique id</param>
 public static void Delete(this AliasService service, Guid id)
 {
     service.DeleteAsync(id).GetAwaiter().GetResult();
 }