예제 #1
0
 public Task <IdentityUser> FindUser(string userIdentity, string password, DatabaseType databaseType)
 {
     return(databaseType switch
     {
         DatabaseType.MySql => _mySqlRepository.GetIdentityUserAsync(userIdentity, password),
         _ => null
     });