public bool insertMoney() { int userId = Convert.ToInt32(UseKardoEncryption.getDecipherString(Session["KardoUserId"].ToString())); string moneyStr = Request.Form["money"]; int money; bool isNumeric = int.TryParse(moneyStr, out money); if (isNumeric) { return(UserProfileModel.insertMoney(userId, money)); } return(false); }