コード例 #1
0
        public async Task <IActionResult> ClonePlan(List <PlanForCloneDto> create)
        {
            var model = await _planService.ClonePlan(create);

            await _hubContext.Clients.All.SendAsync("ReceiveCreatePlan");

            return(Ok(model));
        }
コード例 #2
0
 public async Task <IActionResult> ClonePlan(List <PlanForCloneDto> create)
 {
     return(Ok(await _planService.ClonePlan(create)));
 }