Exemplo n.º 1
0
        public async Task <ActionResult> Delete(Guid id)
        {
            var query = await lists.GetTodoById(id);

            if (query != null)
            {
                await lists.Delete(id);

                await lists.Saves();

                return(NoContent());
            }
            return(NotFound());
        }