C# Class iBlog.Domain.Concrete.CategoryRepository

Inheritance: ICategoryRepository
显示文件 Open project: eshengsky/iBlog

Public Methods

Method Description
CategoryRepository ( ) : System.Collections.Generic
GetAll ( ) : Task>

获取所有分类

GetNameByAlias ( string alias ) : Task

根据alias获取分类名称

Save ( List list ) : System.Threading.Tasks.Task

保存全部分类

Method Details

CategoryRepository() public method

public CategoryRepository ( ) : System.Collections.Generic
return System.Collections.Generic

GetAll() public method

获取所有分类
public GetAll ( ) : Task>
return Task>

GetNameByAlias() public method

根据alias获取分类名称
public GetNameByAlias ( string alias ) : Task
alias string
return Task

Save() public method

保存全部分类
public Save ( List list ) : System.Threading.Tasks.Task
list List
return System.Threading.Tasks.Task