C# Class Storage.DAO.CategoryDAO

ファイルを表示 Open project: aokolity/Storage

Public Methods

Method Description
CreateProduct ( CategoryModel categoryModel ) : void
DeleteProduct ( int id ) : void
GetCategory ( int id ) : CategoryModel
GetCategoryList ( ) : List
UpdateProduct ( int id, CategoryModel categoryModel ) : void

Method Details

CreateProduct() public static method

public static CreateProduct ( CategoryModel categoryModel ) : void
categoryModel Storage.Models.CategoryModel
return void

DeleteProduct() public static method

public static DeleteProduct ( int id ) : void
id int
return void

GetCategory() public static method

public static GetCategory ( int id ) : CategoryModel
id int
return Storage.Models.CategoryModel

GetCategoryList() public static method

public static GetCategoryList ( ) : List
return List

UpdateProduct() public static method

public static UpdateProduct ( int id, CategoryModel categoryModel ) : void
id int
categoryModel Storage.Models.CategoryModel
return void