C# 클래스 ModernWebStore.Domain.Scopes.ProductScopes

파일 보기 프로젝트 열기: andrebaltieri/mwa-api

공개 메소드들

메소드 설명
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

메소드 상세

RegisterProductScopeIsValid() 공개 정적인 메소드

public static RegisterProductScopeIsValid ( this product ) : bool
product this
리턴 bool

UpdateInfoScopeIsValid() 공개 정적인 메소드

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

UpdatePriceScopeIsValid() 공개 정적인 메소드

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

UpdateQuantityOnHandScopeIsValid() 공개 정적인 메소드

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