/// <summary> /// Delete a goal instance /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='goalId'> /// The identifier of the goal to delete. /// </param> public static void Delete(this IGoals operations, System.Guid goalId) { operations.DeleteAsync(goalId).GetAwaiter().GetResult(); }
/// <summary> /// Delete a goal instance /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='goalId'> /// The identifier of the goal to delete. /// </param> public static object Delete(this IGoals operations, string goalId) { return(operations.DeleteAsync(goalId).GetAwaiter().GetResult()); }