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); }
public async Task InsertErrorLog(ErrorlogBM entity) { await _DBErrLogRepository.InsertLog(entity).ConfigureAwait(false); return; }