Ejemplo n.º 1
0
 public Task AddComment(Comment comment)
 {
     _commentRepository.AddComment(comment);
     return(_dapperTransactionService.RunOperations());
 }
        public async Task AddProductAsync(Product product)
        {
            AddProduct(product);

            await _dapperTransactionService.RunOperations();
        }