public bool updateUserPassword(int userId, string newPassword) { try { tabUserAdapter.UpdateQueryByUserIdForPassword(newPassword, userId); return(true); } catch (Exception e) { throw e; } }