Replaces MVC with FastEndpoints in Lumina.Presentation.Api

This commit is contained in:
BinaryAlley committed 2024-10-23 21:34:10 +03:00
1 parent b1a20716df
commit c7b8bc2f1c
519 files changed
+15329 -8539

No files matched your search

@@ -34,7 +34,7 @@ public class Genre : ValueObject
/// <returns>
/// An <see cref="ErrorOr{TValue}"/> containing either a successfully created <see cref="Genre"/>, or an error message.
/// </returns>
public static ErrorOr<Genre> Create(string name)
public static ErrorOr<Genre> Create(string? name)
{
if (string.IsNullOrWhiteSpace(name))
return Errors.Errors.Metadata.GenreNameCannotBeEmpty;