Skip to content

Commit 087da5b

Browse files
authored
Merge pull request #220 from davidcateduclarity/patch-2
Update Developing-Step-By-Step-Angular-DevExtreme-Editing-Person.md
2 parents f36b2ab + 26fcec3 commit 087da5b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/en/Developing-Step-By-Step-Angular-DevExtreme-Editing-Person.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ side. We are adding it to the service interface, **IPersonAppService:**:
1111
Task EditPerson(EditPersonInput input);
1212
```
1313

14+
And add the necessary DTO to transfer person's id, name, surname, and email.
15+
16+
```csharp
17+
public class EditPersonInput: EntityDto
18+
{
19+
public string Name {get;set;}
20+
public string Surname {get;set;}
21+
public string EmailAddress {get;set;}
22+
}
23+
```
24+
1425
**EntityDto** is a shortcut of ABP if we only get an id value. Implementation (in **PersonAppService**) is very simple:
1526

1627
```csharp
@@ -145,4 +156,4 @@ It first shows a confirmation message when we click the delete button:
145156

146157
## Next
147158

148-
* [Multi-Tenancy](Developing-Step-By-Step-Angular-DevExtreme-Multi-Tenancy.md)
159+
* [Multi-Tenancy](Developing-Step-By-Step-Angular-DevExtreme-Multi-Tenancy.md)

0 commit comments

Comments
 (0)