Add Title and Veteran to DB

This commit is contained in:
2025-08-11 21:27:20 -07:00
parent 07fca50876
commit 1054c595bf
6 changed files with 53 additions and 16 deletions
@@ -10,6 +10,7 @@ namespace BoredCareers.Services.DatabaseService {
if (reader == null) { break; }
int _id = reader.GetInt32("ID");
int _accountid = reader.GetInt32("AccountID");
string _title = reader.GetString("Title");
string _name = reader.GetString("Name");
string _field = reader.GetString("Field");
string _email = reader.GetString("Email");
@@ -22,6 +23,7 @@ namespace BoredCareers.Services.DatabaseService {
return new Resume() {
ID = _id,
AccountID = _accountid,
Title = _title,
Name = _name,
Field = _field,
Email = _email,
@@ -112,6 +114,7 @@ namespace BoredCareers.Services.DatabaseService {
if (reader == null) { break; }
int _id = reader.GetInt32("ID");
int _resumeid = reader.GetInt32("ResumeID");
bool _veteran = reader.GetBoolean("Veteran");
string _country = reader.GetString("Country");
string _rank = reader.GetString("Rank");
DateTime _datestarted = reader.GetDateTime("DateStarted");
@@ -120,6 +123,7 @@ namespace BoredCareers.Services.DatabaseService {
military = new ResumeMilitary() {
ID = _id,
ResumeID = _resumeid,
Veteran = _veteran,
Country = _country,
Rank = _rank,
DateStarted = _datestarted,