예제 #1
0
 private void AddLog(ActionType actionType, String message)
 {
     try
     {
         actionLogsRepository.InsertLogAction(ActionLog.Create(actionType, ObjectType, message));
         actionLogsRepository.Save();
     }
     catch (Exception e)
     {
         Trace.TraceError("Exception during log. Exception: {0}", e.Message);
     }
 }