-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description Upgrade solution and projects to target newest .NET 8.0 version. ## Related Issue Closes #50 ## Motivation and Context ## How Has This Been Tested? ## Screenshots (if appropriate): ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: - [X] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [X] I have read the **CONTRIBUTING** document. - [ ] I have added tests to cover my changes. - [X] All new and existing tests passed.
- Loading branch information
Showing
64 changed files
with
445 additions
and
481 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
11 changes: 5 additions & 6 deletions
11
src/Content/Backend/Solution/Monaco.Template.Backend.Api/Auth/Scopes.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,24 +1,23 @@ | ||
#if (!disableAuth) | ||
|
||
namespace Monaco.Template.Backend.Api.Auth; | ||
|
||
public static class Scopes | ||
{ | ||
public const string CompaniesRead = "companies:read"; | ||
public const string CompaniesWrite = "companies:write"; | ||
#if filesSupport | ||
public const string FilesRead = "files:read"; | ||
public const string FilesWrite = "files:write"; | ||
public const string FilesRead = "files:read"; | ||
public const string FilesWrite = "files:write"; | ||
#endif | ||
|
||
public static List<string> List => new() | ||
{ | ||
CompaniesRead, | ||
CompaniesWrite, | ||
#if filesSupport | ||
FilesRead, | ||
FilesWrite | ||
FilesRead, | ||
FilesWrite | ||
#endif | ||
}; | ||
}; | ||
} | ||
#endif |
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
20 changes: 8 additions & 12 deletions
20
src/Content/Backend/Solution/Monaco.Template.Backend.Api/DTOs/CompanyCreateEditDto.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,14 +1,10 @@ | ||
namespace Monaco.Template.Backend.Api.DTOs; | ||
|
||
public class CompanyCreateEditDto | ||
{ | ||
public string? Name { get; set; } | ||
public string? Email { get; set; } | ||
public string? WebSiteUrl { get; set; } | ||
public string? Street { get; set; } | ||
public string? City { get; set; } | ||
public string? County { get; set; } | ||
public string? PostCode { get; set; } | ||
|
||
public Guid? CountryId { get; set; } | ||
} | ||
public record CompanyCreateEditDto(string? Name, | ||
string? Email, | ||
string? WebSiteUrl, | ||
string? Street, | ||
string? City, | ||
string? County, | ||
string? PostCode, | ||
Guid? CountryId); |
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.