C# 클래스 Swashbuckle.Dummy.Controllers.ProductsController

상속: ApiController
파일 보기 프로젝트 열기: BenjaminAdams/Swashbuckle-blue

공개 메소드들

메소드 설명
Create ( Product product ) : int
GetById ( int id ) : Product

비공개 메소드들

메소드 설명
GetAllByType ( ProductType type ) : IEnumerable

메소드 상세

Create() 공개 메소드

public Create ( Product product ) : int
product Product
리턴 int

GetById() 공개 메소드

public GetById ( int id ) : Product
id int
리턴 Product