Example #1
0
		public int InsertCardInfo(CardInfo card)
		{
			using(CardInfoDA cardInfoDA = new CardInfoDA())
			{
				return cardInfoDA.InsertCardInfo(card);
			}
		}
Example #2
0
		public int InsertCardInfo(CardInfo card)
		{
			int rowAffected = 0;

			using(CardInfoDA cardInfoDA = new CardInfoDA())
			{
				rowAffected = cardInfoDA.InsertCardInfo(card);
			}

			return rowAffected;
		}