C# Class ModernWebStore.Infra.Repositories.CategoryRepository

Inheritance: ICategoryRepository
Mostrar archivo Open project: andrebaltieri/mwa-api

Public Methods

Method 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 method

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

Create() public method

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

Delete() public method

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

Get() public method

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

Get() public method

public Get ( ) : List
return List

Get() public method

public Get ( int skip, int take ) : List
skip int
take int
return List

Update() public method

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