Convert db to EF Core; start on view page
Also returning skills with profile inquiries now, though that particular query is failing (current WIP) #2
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
/// <summary>
|
||||
/// A transport mechanism to send counts across the wire via JSON
|
||||
/// </summary>
|
||||
public record Count(long Value);
|
||||
public record Count(int Value);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
|
||||
namespace JobsJobsJobs.Shared.Api
|
||||
{
|
||||
@@ -74,7 +75,13 @@ namespace JobsJobsJobs.Shared.Api
|
||||
RemoteWork = profile.RemoteWork,
|
||||
FullTime = profile.FullTime,
|
||||
Biography = profile.Biography.Text,
|
||||
Experience = profile.Experience?.Text ?? ""
|
||||
Experience = profile.Experience?.Text ?? "",
|
||||
Skills = profile.Skills.Select(s => new SkillForm
|
||||
{
|
||||
Id = s.Id.ToString(),
|
||||
Description = s.Description,
|
||||
Notes = s.Notes
|
||||
}).ToList()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user