public async Task <IActionResult> Post(TaskModel task) { int id = await _taskData.NewTask(task); return(Ok(id)); }