/// <summary> /// Insert the log item /// </summary> /// <param name="logItem">Log item</param> public virtual void InsertTaxTransactionLog(TaxTransactionLog logItem) { if (logItem == null) { throw new ArgumentNullException(nameof(logItem)); } _taxTransactionLogRepository.Insert(logItem); }
/// <summary> /// Insert the log item /// </summary> /// <param name="logItem">Log item</param> /// <returns>A task that represents the asynchronous operation</returns> public virtual async Task InsertTaxTransactionLogAsync(TaxTransactionLog logItem) { if (logItem == null) { throw new ArgumentNullException(nameof(logItem)); } await _taxTransactionLogRepository.InsertAsync(logItem, false); }
/// <summary> /// Update the log item /// </summary> /// <param name="logItem">Log item</param> /// <returns>A task that represents the asynchronous operation</returns> public async Task UpdateTaxTransactionLogAsync(TaxTransactionLog logItem) { if (logItem == null) { throw new ArgumentNullException(nameof(logItem)); } await _taxTransactionLogRepository.UpdateAsync(logItem, false); }
/// <summary> /// Update the log item /// </summary> /// <param name="logItem">Log item</param> public virtual void UpdateTaxTransactionLog(TaxTransactionLog logItem) { if (logItem == null) { throw new ArgumentNullException(nameof(logItem)); } _taxTransactionLogRepository.Update(logItem, false); }
/// <summary> /// Delete the log item /// </summary> /// <param name="logItem">Log item</param> /// <returns>A task that represents the asynchronous operation</returns> public virtual async Task DeleteTaxTransactionLogAsync(TaxTransactionLog logItem) { await _taxTransactionLogRepository.DeleteAsync(logItem, false); }
/// <summary> /// Delete the log item /// </summary> /// <param name="logItem">Log item</param> public virtual void DeleteTaxTransactionLog(TaxTransactionLog logItem) { _taxTransactionLogRepository.Delete(logItem, false); }