C# Class DRMFSS.BLL.Services.CommodityTypeService

Inheritance: ICommodityTypeService
Exibir arquivo Open project: edgecomputing/cats-hub-module

Public Methods

Method Description
AddCommodityType ( CommodityType commodityType ) : bool
CommodityTypeService ( ) : System
DeleteById ( int id ) : bool
DeleteCommodityType ( CommodityType commodityType ) : bool
Dispose ( ) : void
EditCommodityType ( CommodityType commodityType ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : CommodityType
GetAllCommodityType ( ) : List
GetAllCommodityTypeForReprot ( ) : List
GetCommodityByName ( string p ) : CommodityType

Gets the name of the commodity by.

Method Details

AddCommodityType() public method

public AddCommodityType ( CommodityType commodityType ) : bool
commodityType Cats.Models.CommodityType
return bool

CommodityTypeService() public method

public CommodityTypeService ( ) : System
return System

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteCommodityType() public method

public DeleteCommodityType ( CommodityType commodityType ) : bool
commodityType Cats.Models.CommodityType
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditCommodityType() public method

public EditCommodityType ( CommodityType commodityType ) : bool
commodityType Cats.Models.CommodityType
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : CommodityType
id int
return Cats.Models.CommodityType

GetAllCommodityType() public method

public GetAllCommodityType ( ) : List
return List

GetAllCommodityTypeForReprot() public method

public GetAllCommodityTypeForReprot ( ) : List
return List

GetCommodityByName() public method

Gets the name of the commodity by.
public GetCommodityByName ( string p ) : CommodityType
p string The p.
return Cats.Models.CommodityType