seperated out start and end date and time into seprate date and time fields

This commit is contained in:
2026-07-25 15:59:46 -05:00
parent 5517924259
commit 1b478cd7ba
7 changed files with 712 additions and 6 deletions
+4
View File
@@ -271,6 +271,8 @@ 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;
@@ -288,6 +290,8 @@ 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,