using BootCamp.DataAccess.Common.AWS.DynamoDB.Transaction; using System.Collections.Generic; using System.Threading.Tasks; namespace BootCamp.DataAccess.Contract { public interface IProductProvider { /// /// Interface for create table. /// /// /// The table partition key. /// The table sort key. /// Task CreateTable(string tableName, string partitionKey, string sortKey); /// /// Interface for get product. /// /// /// Task GetProduct(ProductDto dto); /// /// Interface for put product. /// /// /// /// Task PutProduct(ProductDto dto, TransactScope scope); /// /// Interface for delete product. /// /// /// /// Task DeleteProduct(ProductDto dto, TransactScope scope); } }