Building Web Applications with .NET Core 2.1 and JavaScript: Leveraging Modern JavaScript Frameworks by Ben Dewey & Kevin Grossnicklaus & Philip Japikse

Building Web Applications with .NET Core 2.1 and JavaScript: Leveraging Modern JavaScript Frameworks by Ben Dewey & Kevin Grossnicklaus & Philip Japikse

Author:Ben Dewey & Kevin Grossnicklaus & Philip Japikse [Ben Dewey]
Language: eng
Format: epub
Publisher: Apress
Published: 2019-12-12T16:00:00+00:00


Listing 7-31The Details Action Method

The Cart Controller

Create a new file named CartController.cs in the Controllers directory. Update the using statements to match the following:using System;

using System.Collections.Generic;

using System.Threading.Tasks;

using AutoMapper;

using Microsoft.AspNetCore.Mvc;

using Microsoft.Extensions.Configuration;

using SpyStore.Models.Entities;

using SpyStore.Models.ViewModels;

using SpyStore.Mvc.Controllers.Base;

using SpyStore.Mvc.Models.ViewModels;

using SpyStore.Mvc.Support;



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.