예제 #1
0
        public async Task <IActionResult> Delete(Guid id)
        {
            var result = await _todoService.DelTodoTypeAsync(id);

            if (!result)
            {
                return(Redirect("/home/index"));
            }
            return(Redirect("/"));
        }