C# Class ParkerFox.Application.CartServices

Inheritance: ICartServices
Mostrar archivo Open project: KHProjects/KH-Parker-Fox

Public Methods

Method 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 method

public AddItem ( CartItem cartItem ) : void
cartItem ParkerFox.Core.Entities.Ecommerce.CartItem
return void

CartServices() public method

public CartServices ( IUnitOfWork unitOfWork, ICartItemRepository cartItemRepository ) : System.Collections.Generic
unitOfWork IUnitOfWork
cartItemRepository ICartItemRepository
return System.Collections.Generic

GetCurrentItems() public method

public GetCurrentItems ( ) : IEnumerable
return IEnumerable

RemoveItem() public method

public RemoveItem ( int productId ) : void
productId int
return void

UpdateItem() public method

public UpdateItem ( CartItem itemUpdate ) : void
itemUpdate ParkerFox.Core.Entities.Ecommerce.CartItem
return void