Ejemplo n.º 1
0
 /// <summary>
 /// Deletes product from request body
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// id of the product that needs to be deleted
 /// </param>
 public static void DELETE(this IProducts operations, int id)
 {
     operations.DELETEAsync(id).GetAwaiter().GetResult();
 }