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