added redis integration and command line arguments handling to cart service. Didn't test in the cloud yet

This commit is contained in:
Simon Zeltser 2018-06-21 11:09:12 -07:00
parent 572c02f588
commit 8860d8bfdd
7 changed files with 184 additions and 0 deletions

View file

@ -0,0 +1,12 @@
using System.Threading.Tasks;
namespace cartservice.interfaces
{
internal interface ICartStore
{
Task AddItemAsync(string userId, string productId, int quantity);
Task EmptyCartAsync(string userId);
Task<Hipstershop.Cart> GetCartAsync(string userId);
}
}