Adam Moussa
|
c69cef7fa9
|
Add HttpPut route to EditWorkorder endpoint
- services/api.js sends PUT for updates, controller only accepted POST
- Add [HttpPut("{id:int}")] alongside existing [HttpPost]
|
2026-04-16 17:44:00 -04:00 |
|
Adam Moussa
|
cc87039a77
|
Include commenter and recordType in GetWorkorderById comments response
|
2026-04-16 17:41:11 -04:00 |
|
Adam Moussa
|
5a4d8e2240
|
Add description, createdDate, locationId to GetWorkorderById response
|
2026-04-16 17:37:21 -04:00 |
|
Adam Moussa
|
60fc933da7
|
Add lowercase route aliases for all controllers
- services/api.js uses lowercase routes (/api/workorders, /api/employees, etc.)
- Add matching [Route] attributes to WorkOrder, Employee, Contact, Account, FollowUp, PMSchedule controllers
- Add [HttpGet("{id:int}")] to WorkOrderController for REST-style get by ID
|
2026-04-16 17:32:28 -04:00 |
|
Adam Moussa
|
e8c400a20a
|
Add null safety checks across all API controllers
- Add null checks after FirstOrDefault() before property access
- Guard navigation property access (Locations, AssignToUser, ApplicationUser, POC, Contacts)
- Null-coalesce string properties in search/filter LINQ queries
- Protect Sum() on nullable LineItems collections
- Change FirstAsync to FirstOrDefaultAsync with null guard in UserController
- Add null check on model.Attachments iteration in EditWorkorder
|
2026-04-16 16:33:42 -04:00 |
|
npalOmega
|
a9fc4b8701
|
fix
|
2026-03-30 06:49:40 -05:00 |
|
npalOmega
|
cd78c93fa8
|
fix
|
2026-01-21 16:24:54 -06:00 |
|
npalOmega
|
2e9716fe34
|
fix
|
2025-03-09 19:39:28 -05:00 |
|
npalOmega
|
9a23c41b21
|
initial commit for api changes
|
2025-02-18 13:13:33 -06:00 |
|
|
|
69b9e69f00
|
Initial commit
|
2024-09-28 14:58:36 -04:00 |
|