Cart Updates (#26)

* ardalis/cart-updates

Updating how items are added to cart and displayed in cart.

* Cleaning up UI
This commit is contained in:
Steve Smith authored and GitHub committed 2017-08-07 09:49:12 -04:00
1 parent b52048b74d
commit b67f8cc050
16 files changed
+258 -22

No files matched your search

@@ -0,0 +1,20 @@
using ApplicationCore.Interfaces;
using Microsoft.eShopWeb;
namespace ApplicationCore.Services
{
public class UriComposer : IUriComposer
{
private readonly CatalogSettings _catalogSettings;
public UriComposer(CatalogSettings catalogSettings)
{
_catalogSettings = catalogSettings;
}
public string ComposePicUri(string uriTemplate)
{
return uriTemplate.Replace("http://catalogbaseurltobereplaced", _catalogSettings.CatalogBaseUrl);
}
}
}