C# Class ModernWebStore.Domain.Scopes.OrderItemScopes

Afficher le fichier Open project: andrebaltieri/mwa-api

Méthodes publiques

Méthode Description
AddProductScopeIsValid ( this orderItem, Product product, decimal price, int quantity ) : bool
RegisterOrderItemScopeIsValid ( this orderItem ) : bool

Method Details

AddProductScopeIsValid() public static méthode

public static AddProductScopeIsValid ( this orderItem, Product product, decimal price, int quantity ) : bool
orderItem this
product ModernWebStore.Domain.Entities.Product
price decimal
quantity int
Résultat bool

RegisterOrderItemScopeIsValid() public static méthode

public static RegisterOrderItemScopeIsValid ( this orderItem ) : bool
orderItem this
Résultat bool