-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/create event with categories and ticket typed #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kTrzcinskii
merged 16 commits into
develop
from
feat/CreateEventWithCategoriesAndTicketTyped
Apr 19, 2025
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
282c995
resolve merge conflicts
staszkiet 027aec0
Check if categories exist
staszkiet e55616b
Handle non existing categories
staszkiet c1a6b99
Add ticket types to created events and tests
staszkiet c6e4cd6
Add or update the Azure App Service build and deployment workflow config
staszkiet 49cf8dd
Add or update the Azure App Service build and deployment workflow config
staszkiet 15ae96a
Update feat-createeventwithcategoriesandtickettyped_resellio.yml
staszkiet 27ed684
Update feat-createeventwithcategoriesandtickettyped_resellio.yml
staszkiet ea3546a
Update feat-createeventwithcategoriesandtickettyped_resellio.yml
staszkiet bc1ba00
Update feat-createeventwithcategoriesandtickettyped_resellio.yml
staszkiet 125d691
Delete .github/workflows/feat-createeventwithcategoriesandtickettyped…
staszkiet 8fa7d7e
Add or update the Azure App Service build and deployment workflow config
staszkiet 18b9dc0
Update feat-createeventwithcategoriesandtickettyped_resellio.yml
staszkiet 23087d1
Delete .github/workflows/feat-createeventwithcategoriesandtickettyped…
staszkiet 7ab3547
Resolve comments
staszkiet 99c3f6b
Merge branch 'feat/CreateEventWithCategoriesAndTicketTyped' of https:…
staszkiet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
181 changes: 164 additions & 17 deletions
181
TickAPI/TickAPI.Tests/Events/Services/EventServiceTests.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
TickAPI/TickAPI/Categories/DTOs/Request/CreateEventCategoryDto.cs
This file contains hidden or 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,6 @@ | ||
| namespace TickAPI.Categories.DTOs.Request; | ||
|
|
||
| public record CreateEventCategoryDto | ||
| ( | ||
| string CategoryName | ||
| ); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,15 +1,18 @@ | ||
| using TickAPI.Events.Models; | ||
| using TickAPI.Addresses.DTOs.Request; | ||
| using TickAPI.Categories.DTOs.Request; | ||
| using TickAPI.TicketTypes.DTOs.Request; | ||
|
|
||
| namespace TickAPI.Events.DTOs.Request; | ||
|
|
||
| public record CreateEventDto | ||
| ( | ||
| public record CreateEventDto( | ||
| string Name, | ||
| string Description, | ||
| DateTime StartDate, | ||
| DateTime EndDate, | ||
| uint? MinimumAge, | ||
| List<CreateEventCategoryDto> Categories, | ||
| List<CreateEventTicketTypeDto> TicketTypes, | ||
| EventStatus EventStatus, | ||
| CreateAddressDto CreateAddress | ||
| ); |
This file contains hidden or 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
9 changes: 9 additions & 0 deletions
9
TickAPI/TickAPI/TicketTypes/DTOs/Request/CreateAddressTicketTypeDto.cs
This file contains hidden or 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,9 @@ | ||
| namespace TickAPI.TicketTypes.DTOs.Request; | ||
|
|
||
| public record CreateEventTicketTypeDto( | ||
| string Description, | ||
| uint MaxCount, | ||
| decimal Price, | ||
| string Currency, | ||
| DateTime AvailableFrom | ||
| ); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.