Exemple #1
0
 public void CyberSource(Logger_CyberSource toAdd)
 {
     try
     {
         using (LMJEntities db = new LMJEntities())
         {
             db.Logger_CyberSource.Add(toAdd);
             db.SaveChanges();
         }
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Exemple #2
0
        public void CyberSource(string Method, string Action, string Parameters, string Result)
        {
            try
            {
                Logger_CyberSource toAdd = new Logger_CyberSource();
                toAdd.MethodName = Method;
                toAdd.ActionType = Action;
                toAdd.Parameters = Parameters;
                toAdd.Result     = Result;

                _AllLoggerAccessor.CyberSource(toAdd);
            }
            catch (Exception ex)
            {
                throw;
            }
        }