fixed a lot of stuff

This commit is contained in:
2026-07-25 16:19:23 -05:00
parent 1b478cd7ba
commit fb25b8aba6
8 changed files with 21 additions and 406 deletions
-4
View File
@@ -271,8 +271,6 @@ jobGroup.MapPut("/{id}", async (int id, Jobs updatedJob, BarkContext db) =>
existingJob.Name = updatedJob.Name;
existingJob.StartDate = updatedJob.StartDate;
existingJob.EndDate = updatedJob.EndDate;
existingJob.StartTime = updatedJob.StartTime;
existingJob.EndTime = updatedJob.EndTime;
existingJob.TotalPrice = updatedJob.TotalPrice;
existingJob.Venue = updatedJob.Venue;
existingJob.Address = updatedJob.Address;
@@ -290,8 +288,6 @@ jobGroup.MapPost("", async (Jobs newJobInput, BarkContext db) =>
Name = newJobInput.Name,
StartDate = newJobInput.StartDate,
EndDate = newJobInput.EndDate,
StartTime = newJobInput.StartTime,
EndTime = newJobInput.EndTime,
Venue = newJobInput.Venue,
Address = newJobInput.Address,
Notes = newJobInput.Notes,