Cleaning things up and getting add item to cart working for anonymous or authenticated users.

This commit is contained in:
Steve Smith
2017-07-24 16:45:54 -04:00
parent fb95b37da8
commit 925ad6b557
13 changed files with 182 additions and 54 deletions

View File

@@ -10,6 +10,7 @@ namespace Microsoft.eShopWeb.Infrastructure
public CatalogContext(DbContextOptions<CatalogContext> options) : base(options)
{
}
public DbSet<Basket> Baskets { get; set; }
public DbSet<CatalogItem> CatalogItems { get; set; }
public DbSet<CatalogBrand> CatalogBrands { get; set; }
public DbSet<CatalogType> CatalogTypes { get; set; }