예제 #1
0
 public void BaixarCupom()
 {
     try
     {
         SqlParameter[] listaComParametros =
         {
             new SqlParameter("@CodigoCupom", SqlDbType.VarChar)
             {
                 Value = CodigoCupom
             }
         };
         instrucaoSql = "BaixarCupom";
         c.ExecutarComandoStoredProcedure(instrucaoSql, listaComParametros);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }