C# Class ParkerFox.Application.CartServices

Inheritance: ICartServices
Afficher le fichier Open project: KHProjects/KH-Parker-Fox

Méthodes publiques

Méthode Description
AddItem ( CartItem cartItem ) : void
CartServices ( IUnitOfWork unitOfWork, ICartItemRepository cartItemRepository ) : System.Collections.Generic
GetCurrentItems ( ) : IEnumerable
RemoveItem ( int productId ) : void
UpdateItem ( CartItem itemUpdate ) : void

Method Details

AddItem() public méthode

public AddItem ( CartItem cartItem ) : void
cartItem ParkerFox.Core.Entities.Ecommerce.CartItem
Résultat void

CartServices() public méthode

public CartServices ( IUnitOfWork unitOfWork, ICartItemRepository cartItemRepository ) : System.Collections.Generic
unitOfWork IUnitOfWork
cartItemRepository ICartItemRepository
Résultat System.Collections.Generic

GetCurrentItems() public méthode

public GetCurrentItems ( ) : IEnumerable
Résultat IEnumerable

RemoveItem() public méthode

public RemoveItem ( int productId ) : void
productId int
Résultat void

UpdateItem() public méthode

public UpdateItem ( CartItem itemUpdate ) : void
itemUpdate ParkerFox.Core.Entities.Ecommerce.CartItem
Résultat void