mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-08-11 11:42:03 +00:00
fixed a lot of stuff
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user