public void TestFindUserByUsername(string username) { Users u = userDao.FindUserByUsername(username); if (u != null) { Console.WriteLine($"FindByName({username}) -> {u.Username,5} | {u.Station,-10} "); } else { Console.WriteLine($"FindByName({username}) -> null"); } }
public Users FindUserByUsername(string username) { return(usersDao.FindUserByUsername(username)); }