Files
CutList/CutList
AJ c8fd22f5b1 Update services to use Result pattern
Refactor DocumentService and CutListService to return Result<T>
instead of throwing exceptions or using out parameters. This
removes all MessageBox calls from business logic.

DocumentService changes:
- Load() returns Result<Document> instead of Document
- Save() returns Result instead of void
- Validate() returns Result instead of bool with out parameter
- All exceptions caught and converted to Result.Failure

CutListService changes:
- Pack() returns Result<SawCut.Nesting.Result>
- Exceptions caught and converted to Result.Failure

Benefits:
- Services are now UI-agnostic (no MessageBox)
- Can be unit tested without UI dependencies
- Can be reused in console apps, web apps, etc.
- Errors are values, not exceptions
- Clear, type-safe error handling contract

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 17:43:33 -05:00
..
2025-01-02 23:20:48 -05:00
2021-10-04 19:12:37 -04:00
2021-11-15 08:46:46 -05:00
2021-11-15 08:46:46 -05:00
2021-10-07 09:12:38 -04:00
2025-01-02 23:21:34 -05:00
2021-10-07 09:12:38 -04:00
2024-12-09 09:37:57 -05:00
2021-10-07 09:12:38 -04:00
2021-10-07 09:12:38 -04:00