[CHANGE] Removed generics and using base classes
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
using DotBased.AspNet.Authority.Managers;
|
||||
using DotBased.AspNet.Authority.Models.Authority;
|
||||
using DotBased.AspNet.Authority.Models.Validation;
|
||||
|
||||
namespace DotBased.AspNet.Authority.Validators;
|
||||
|
||||
public interface IUserValidator<TUser> where TUser : class
|
||||
public interface IUserValidator
|
||||
{
|
||||
public Task<ValidationResult> ValidateUserAsync(AuthorityUserManager<TUser> manager, TUser user);
|
||||
public Task<ValidationResult> ValidateUserAsync(AuthorityUserManager manager, AuthorityUser user);
|
||||
}
|
Reference in New Issue
Block a user