Updated the domain model with entities, repos and domain services. Looks good. I think I addressed all the user stories however if I fell short we'll revise as needed.

This commit was merged in pull request #6.
This commit is contained in:
2026-04-10 17:43:58 +05:00
parent 57040bc656
commit 8eb8cd4fbf
14 changed files with 621 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace LibraryApp.Domain;
public record Error
{
public string Message { get; init; }
public Error(string message)
{
Message = message;
}
public static implicit operator Error(string message) => new Error(message);
public static implicit operator string(Error error) => error.Message;
}