public async Task <string> Verify(string userName, string password) { foreach (var emp in EmployeeList) { if (userName == emp.UserName && password == emp.Password) { _currentUser.LogIn(emp); return(emp.Type); } } return(null); }