C# Class ModernWebStore.Domain.Scopes.ProductScopes

Datei anzeigen Open project: andrebaltieri/mwa-api

Public Methods

Method Description
RegisterProductScopeIsValid ( this product ) : bool
UpdateInfoScopeIsValid ( this product, string title, string description, int category ) : bool
UpdatePriceScopeIsValid ( this product, decimal price ) : bool
UpdateQuantityOnHandScopeIsValid ( this product, int amount ) : bool

Method Details

RegisterProductScopeIsValid() public static method

public static RegisterProductScopeIsValid ( this product ) : bool
product this
return bool

UpdateInfoScopeIsValid() public static method

public static UpdateInfoScopeIsValid ( this product, string title, string description, int category ) : bool
product this
title string
description string
category int
return bool

UpdatePriceScopeIsValid() public static method

public static UpdatePriceScopeIsValid ( this product, decimal price ) : bool
product this
price decimal
return bool

UpdateQuantityOnHandScopeIsValid() public static method

public static UpdateQuantityOnHandScopeIsValid ( this product, int amount ) : bool
product this
amount int
return bool