Help wanted #23

Merged
danieljsummers merged 20 commits from help-wanted into main 2021-09-01 01:16:43 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit be7a894ff4 - Show all commits

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<AssemblyVersion>1.0.0.0</AssemblyVersion> <AssemblyVersion>1.0.1.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion> <FileVersion>1.0.1.0</FileVersion>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -68,7 +68,7 @@ namespace JobsJobsJobs.Server.Data
if (!ids.Any()) return; if (!ids.Any()) return;
db.Skills.RemoveRange(await db.Skills.AsNoTracking() db.Skills.RemoveRange(await db.Skills.AsNoTracking()
.Where(s => !ids.Contains(s.Id)).ToListAsync() .Where(s => s.CitizenId == citizenId && !ids.Contains(s.Id)).ToListAsync()
.ConfigureAwait(false)); .ConfigureAwait(false));
} }