public async Task <IActionResult> ClonePlan(List <PlanForCloneDto> create) { var model = await _planService.ClonePlan(create); await _hubContext.Clients.All.SendAsync("ReceiveCreatePlan"); return(Ok(model)); }
public async Task <IActionResult> ClonePlan(List <PlanForCloneDto> create) { return(Ok(await _planService.ClonePlan(create))); }