public bool HasAnyUser() { //List<User> userList = _db.Query<User>("SELECT * from User"); int count = _db.ExecuteScalar <int>("SELECT COUNT(*) FROM User"); return(count > 0); }