-
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.
Baditsa/changing workshops status (#694)
* Endpoint UpdateStatus is added. Checking workshop status for create application is added * Notification was added. Update status method was modified a bit * Status field was added to filter * 1) UpdateStatus method was moved to WorkshopService.cs 2) WorkshopUpdateStatusException was added * Default value for workshops status filter was changed to 0 * Change workshop status filter type * Fix tests * Fix not elasticSearch filter * Remove default value for status * Tests for apllicationService Create() method * Tests for UpdateStatus anf Update methods * Update V2 * Update checking allow new application * Update changing workshop status approach * Update tests * Improve filter by status * Improve tests * Replace GetAll on Get * Improvements * Fix sonar issues
- Loading branch information
Showing
19 changed files
with
479 additions
and
44 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
...School.DataAccess/Enums/WorkshopStatus.cs → ...utOfSchool.Common/Enums/WorkshopStatus.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace OutOfSchool.Services.Enums | ||
namespace OutOfSchool.Common.Enums | ||
{ | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public enum WorkshopStatus | ||
{ | ||
Open = 1, | ||
Closed, | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.