示例#1
0
 public async Task AddErrorLog(string ErrSource, string ErrDesc)
 {
     ErrorlogBM ErrLog = new ErrorlogBM
     {
         ExceptionType   = "E",
         ExceptionSource = ErrSource,
         ExceptionMsg    = ErrDesc,
         LogDate         = DateTime.Now
     };
     await _AppErrLogRepository.InsertLog(ErrLog);
 }
示例#2
0
        public async Task InsertErrorLog(ErrorlogBM entity)
        {
            await _DBErrLogRepository.InsertLog(entity).ConfigureAwait(false);

            return;
        }