public async Task <IActionResult> Add(Task_Input task_Input) { var task = await taskServices.AddTodo(task_Input); if (task == null) { return(UnprocessableEntity()); } return(Ok(new { data = task })); }
public async Task <IActionResult> Add(Task_Input task_Input) { var task = await taskServices.AddTodo(task_Input); if (task == null) { return(UnprocessableEntity()); } return(Ok(new { data = task })); }