Skip to content

Commit

Permalink
feat: Create an interface to validate whether the identity document i…
Browse files Browse the repository at this point in the history
…s valid
  • Loading branch information
MrDave1999 committed Mar 21, 2024
1 parent ab062ec commit d9c908d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Shared/Interfaces/IIdentityDocumentValidator.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace DentallApp.Shared.Interfaces;

/// <summary>
/// Represents a validator to validate identity documents.
/// </summary>
public interface IIdentityDocumentValidator
{
/// <summary>
/// Checks if an identity document is valid.
/// </summary>
/// <param name="document">The document to validate.</param>
Result IsValid(string document);
}

0 comments on commit d9c908d

Please sign in to comment.