-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the feature that allows the creation of a group of children by …
…the list.
- Loading branch information
1 parent
19c6235
commit 6b7f3ea
Showing
7 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
OutOfSchool/OutOfSchool.WebApi/Models/ChildCreationResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using OutOfSchool.WebApi.Common; | ||
|
||
namespace OutOfSchool.WebApi.Models; | ||
|
||
public class ChildCreationResult | ||
{ | ||
public ChildDto Child { get; set; } | ||
|
||
public bool IsSuccess { get; set; } | ||
|
||
public string Message { get; set; } | ||
} |
10 changes: 10 additions & 0 deletions
10
OutOfSchool/OutOfSchool.WebApi/Models/ChildrenCreationResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using OutOfSchool.WebApi.Common; | ||
|
||
namespace OutOfSchool.WebApi.Models; | ||
|
||
public class ChildrenCreationResponse | ||
{ | ||
public ParentDTO Parent { get; set; } | ||
|
||
public List<ChildCreationResult> ChildrenCreationResults { get; set; } | ||
} |
10 changes: 10 additions & 0 deletions
10
OutOfSchool/OutOfSchool.WebApi/Models/ChildrenCreationResultDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using OutOfSchool.WebApi.Common; | ||
|
||
namespace OutOfSchool.WebApi.Models; | ||
|
||
public class ChildrenCreationResultDto | ||
{ | ||
public ParentDTO Parent { get; set; } | ||
|
||
public List<ChildCreationResult> ChildrenCreationResults { get; set; } = new List<ChildCreationResult>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters