public int InsertHistoryPayments(HistoryPayments pEst)
 {
     try
     {
         return(_AD.InsertHistoryPayments(pEst));
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Exemple #2
0
        public int InsertHistoryPayments(HistoryPayments pHE)
        {
            string sql = @"[spInsertHistoryPayments] '{0}', '{1}', '{2}', '{3}'";

            sql = string.Format(sql, pHE.PaymentsReceived.Id, pHE.UserCreador.Id, pHE.Type.Id, pHE.History);
            try
            {
                return(_MB.EjecutarSQL(_CN, sql));
            }
            catch (Exception err)
            {
                throw err;
            }
        }
 public object DeleteHistoryPayments(HistoryPayments dHistoryPayments)
 {
     throw new NotImplementedException();
 }