Esempio n. 1
0
 public PatnerTransactLog insertRemitaObj(PatnerTransactLog patnersLog)
 {
     try
     {
         uvDb.PatnerTransactLogs.Add(patnersLog);
         uvDb.SaveChanges();
     }
     catch (Exception ex)
     {
         WebLog.Log(ex.Message);
     }
     return(patnersLog);
 }
Esempio n. 2
0
        public int InsertPatnerTransactLog(PatnerTransactLog pt)
        {
            try
            {
                uvDb.PatnerTransactLogs.Add(pt);
                uvDb.SaveChanges();
                return(pt.ID);
            }

            catch (Exception ex)
            {
                WebLog.Log(ex.Message.ToString());
                return(ex.Message.Count());
            }
        }