Exemple #1
0
        public async Task <IActionResult> Create(Todo todo)
        {
            await _todoRepository.CreateAndSave(todo);

            return(Created(string.Empty, todo.Id));
        }