C# Class ModernWebStore.Infra.Repositories.CategoryRepository

Inheritance: ICategoryRepository
Afficher le fichier Open project: andrebaltieri/mwa-api

Méthodes publiques

Méthode Description
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

Method Details

CategoryRepository() public méthode

public CategoryRepository ( StoreDataContext context ) : System.Collections.Generic
context ModernWebStore.Infra.Persistence.DataContexts.StoreDataContext
Résultat System.Collections.Generic

Create() public méthode

public Create ( Category category ) : void
category ModernWebStore.Domain.Entities.Category
Résultat void

Delete() public méthode

public Delete ( Category category ) : void
category ModernWebStore.Domain.Entities.Category
Résultat void

Get() public méthode

public Get ( int id ) : Category
id int
Résultat ModernWebStore.Domain.Entities.Category

Get() public méthode

public Get ( ) : List
Résultat List

Get() public méthode

public Get ( int skip, int take ) : List
skip int
take int
Résultat List

Update() public méthode

public Update ( Category category ) : void
category ModernWebStore.Domain.Entities.Category
Résultat void