C# 클래스 ModernWebStore.Infra.Repositories.CategoryRepository

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

공개 메소드들

메소드 설명
CategoryRepository ( StoreDataContext context ) : System.Collections.Generic
Create ( Category category ) : void
Delete ( Category category ) : void
Get ( int id ) : Category
Get ( ) : List
Get ( int skip, int take ) : List
Update ( Category category ) : void

메소드 상세

CategoryRepository() 공개 메소드

public CategoryRepository ( StoreDataContext context ) : System.Collections.Generic
context ModernWebStore.Infra.Persistence.DataContexts.StoreDataContext
리턴 System.Collections.Generic

Create() 공개 메소드

public Create ( Category category ) : void
category ModernWebStore.Domain.Entities.Category
리턴 void

Delete() 공개 메소드

public Delete ( Category category ) : void
category ModernWebStore.Domain.Entities.Category
리턴 void

Get() 공개 메소드

public Get ( int id ) : Category
id int
리턴 ModernWebStore.Domain.Entities.Category

Get() 공개 메소드

public Get ( ) : List
리턴 List

Get() 공개 메소드

public Get ( int skip, int take ) : List
skip int
take int
리턴 List

Update() 공개 메소드

public Update ( Category category ) : void
category ModernWebStore.Domain.Entities.Category
리턴 void