public async Task <ActionResult> CreateTodo(CreateTaskInputContract request) { var todo = await _todoService.CreateOneTimeTodo(request.Title, request.Description); var createdTask = todo.ToTodoOutputContract(); return(CreatedAtRoute("GetTask", new { id = createdTask.Id }, createdTask)); }