Return all users with profiles (#3)
Also fixed server pre-rendering and added log off functionality
This commit is contained in:
15
src/JobsJobsJobs/Shared/Api/ProfileSearchResult.cs
Normal file
15
src/JobsJobsJobs/Shared/Api/ProfileSearchResult.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using NodaTime;
|
||||
|
||||
namespace JobsJobsJobs.Shared.Api
|
||||
{
|
||||
/// <summary>
|
||||
/// A user matching the profile search
|
||||
/// </summary>
|
||||
public record ProfileSearchResult(
|
||||
CitizenId CitizenId,
|
||||
string DisplayName,
|
||||
bool SeekingEmployment,
|
||||
bool RemoteWork,
|
||||
bool FullTime,
|
||||
Instant LastUpdated);
|
||||
}
|
||||
Reference in New Issue
Block a user