Browse Source

Merge pull request #20359 from abpframework/auto-merge/rel-8-2/2854

Merge branch rel-8.3 with rel-8.2
pull/20360/head
maliming 2 years ago
committed by GitHub
parent
commit
2e20544ffe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      docs/en/tutorials/todo/single-layer/index.md

8
docs/en/tutorials/todo/single-layer/index.md

@ -183,7 +183,7 @@ namespace TodoApp.Entities;
public class TodoItem : BasicAggregateRoot<Guid> public class TodoItem : BasicAggregateRoot<Guid>
{ {
public string Text { get; set; } public string Text { get; set; } = string.Empty;
} }
```` ````
@ -288,7 +288,7 @@ namespace TodoApp.Services.Dtos;
public class TodoItemDto public class TodoItemDto
{ {
public Guid Id { get; set; } public Guid Id { get; set; }
public string Text { get; set; } public string Text { get; set; } = string.Empty;
} }
``` ```
@ -420,7 +420,7 @@ namespace TodoApp.Pages;
public class IndexModel : AbpPageModel public class IndexModel : AbpPageModel
{ {
public List<TodoItemDto> TodoItems { get; set; } public List<TodoItemDto> TodoItems { get; set; } = new();
private readonly TodoAppService _todoAppService; private readonly TodoAppService _todoAppService;
@ -543,8 +543,6 @@ As for the final touch, open the `Index.cshtml.css` file in the `Pages` folder a
#TodoList li { #TodoList li {
padding: 5px; padding: 5px;
margin: 5px 0px; margin: 5px 0px;
border: 1px solid #cccccc;
background-color: #f5f5f5;
} }
#TodoList li i #TodoList li i

Loading…
Cancel
Save