public static int checkPid(int Pid) { IUser checkPid = new UserItems(); int count = checkPid.checkPurchaseId(Pid); return(count); }