/// <summary> /// Post an action plan instance /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='actionPlan'> /// The instance of the plan to create. /// </param> public static object Create(this IActionPlans operations, ActionPlanV2 actionPlan) { return(operations.CreateAsync(actionPlan).GetAwaiter().GetResult()); }
/// <summary> /// Post an action plan instance /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='actionPlan'> /// The instance of the plan to create. /// </param> public static ActionPlanInstance Create(this IActionPlans operations, ActionPlan actionPlan) { return(operations.CreateAsync(actionPlan).GetAwaiter().GetResult()); }