9.2.2 Adding the Cart Summary; Listing 9-5 Adding the Summary Method to the CartController.cs File

This commit is contained in:
Jason Zhu 2021-09-22 11:15:51 +10:00
parent 5636a37f58
commit d17ea37a0d

View File

@ -51,5 +51,10 @@ namespace SportsStore.WebUI.Controllers
}
return RedirectToAction("Index", new { returnUrl });
}
public PartialViewResult Summary(Cart cart)
{
return PartialView(cart);
}
}
}