C# Class Restbucks.Service.Infrastructure.InMemoryOrderRepository

Inheritance: IOrderRepository
Afficher le fichier Open project: SzymonPobiega/restbucks-wcf Class Usage Examples

Méthodes publiques

Méthode Description
FindById ( int orderId ) : Order
Remove ( int orderId ) : void
Store ( Order order ) : int

Private Methods

Méthode Description
RemoveExpired ( ) : void
RemoveExpiredIfNecessary ( ) : void

Method Details

FindById() public méthode

public FindById ( int orderId ) : Order
orderId int
Résultat Restbucks.Service.Domain.Order

Remove() public méthode

public Remove ( int orderId ) : void
orderId int
Résultat void

Store() public méthode

public Store ( Order order ) : int
order Restbucks.Service.Domain.Order
Résultat int