Work around nullable ints
This commit is contained in:
@@ -143,7 +143,7 @@ namespace BoredCareers.Services.DatabaseService {
|
||||
// Split into grouped lists and add to experience
|
||||
Dictionary<int, ResumeExperienceBullet[]> groupedExperienceBullets = experienceBullets.GroupBy(b => b.ResumeExperienceID).ToDictionary(g => g.Key, g => g.ToArray());
|
||||
foreach (ResumeExperience cur in experience) {
|
||||
cur.ExperienceBullets = groupedExperienceBullets[cur.ID];
|
||||
cur.ExperienceBullets = groupedExperienceBullets[Convert.ToInt32(cur.ID)];
|
||||
}
|
||||
|
||||
// Add the parts to the resume
|
||||
|
||||
Reference in New Issue
Block a user