Start work on job listings

This commit is contained in:
derek committed 2025-07-17 21:41:18 -07:00
1 parent 485ad1b3de
commit 30cfe67a7b
10 files changed
+271

No files matched your search

@@ -30,6 +30,7 @@ namespace BoredCareers.Controllers {
if (isLoggedIn()) {
if (await isLoggedInUserEmployeeOf(JobListing.CompanyID)) {
await _databaseService.SetJobListing(JobListing);
return Ok();
}
}
return NotFound();
@@ -42,6 +43,7 @@ namespace BoredCareers.Controllers {
if (jobListing != null) {
if (await isLoggedInUserEmployeeOf(JobListingID)) {
await _databaseService.DeleteJobListing(JobListingID);
return Ok();
}
}
}