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