public Task AddComment(Comment comment) { _commentRepository.AddComment(comment); return(_dapperTransactionService.RunOperations()); }
public async Task AddProductAsync(Product product) { AddProduct(product); await _dapperTransactionService.RunOperations(); }