mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Updates usings.
This commit is contained in:
1 parent
3aa9702411
commit
a8d2a1514e
18 files changed
+39
-42
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using ErrorOr;
|
||||
using Lumina.Domain.Common.Models.Core;
|
||||
using Lumina.Domain.SharedKernel.Common.Errors;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
@@ -37,7 +38,7 @@ public class Genre : ValueObject
|
||||
public static ErrorOr<Genre> Create(string? name)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(name))
|
||||
return Errors.Errors.Metadata.GenreNameCannotBeEmpty;
|
||||
return Errors.Metadata.GenreNameCannotBeEmpty;
|
||||
return new Genre(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user