C# Class MusicStore.Controllers.ShoppingCartController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
Afficher le fichier Open project: ivaylokenov/MyTested.AspNetCore.Mvc Class Usage Examples

Méthodes publiques

Méthode Description
AddToCart ( int id, CancellationToken requestAborted ) : Task
Index ( ) : Task
ShoppingCartController ( MusicStore.Models.MusicStoreContext dbContext, ILogger logger ) : System.Linq

Private Methods

Méthode Description
RemoveFromCart ( int id, CancellationToken requestAborted ) : Task

Method Details

AddToCart() public méthode

public AddToCart ( int id, CancellationToken requestAborted ) : Task
id int
requestAborted System.Threading.CancellationToken
Résultat Task

Index() public méthode

public Index ( ) : Task
Résultat Task

ShoppingCartController() public méthode

public ShoppingCartController ( MusicStore.Models.MusicStoreContext dbContext, ILogger logger ) : System.Linq
dbContext MusicStore.Models.MusicStoreContext
logger ILogger
Résultat System.Linq