Exemplo n.º 1
0
 private void CreateLog(LogDTO.Level loglevel, string action, string description, string entity)
 {
     LogDAL logDal = new LogDAL();
     LogDTO logDto = new LogDTO(loglevel, action, description, entity);
     logDal.SaveLog(logDto);
 }
Exemplo n.º 2
0
 public static void SaveLog(string argLogMessage, string argUsername = "******")
 {
     LogDAL.SaveLog(argLogMessage, argUsername);
 }