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); }
public static void SaveLog(string argLogMessage, string argUsername = "******") { LogDAL.SaveLog(argLogMessage, argUsername); }