public static bool ExistsUser(int id) { var r = new RusersDB(); if (r.GetById(id) == null) { return(false); } else { return(true); } }