Method | Description | |
---|---|---|
AddCommodity ( |
||
CommodityService ( IUnitOfWork unitOfWork ) : System | ||
DeleteById ( int id ) : bool | ||
DeleteCommodity ( |
||
Dispose ( ) : void | ||
EditCommodity ( |
||
FindBy ( bool>.Expression |
||
FindById ( int id ) : |
||
GetAllCommodity ( ) : List |
||
GetAllCommodityForReprot ( ) : List |
GetAllCommodityForReport
|
|
GetAllCommodityViewModelsByParent ( int parentCommodity ) : List |
||
GetAllParents ( ) : List |
Gets all parents.
|
|
GetAllSubCommodities ( ) : List |
Gets all sub commodities.
|
|
GetAllSubCommoditiesByParantId ( int Id ) : List |
Gets all sub commodities by parant id.
|
|
GetCommodityByName ( string name ) : |
Gets the name of the commodity by.
|
|
IsCodeValid ( int CommodityID, string CommodityCode ) : bool |
Determines whether [commodity code is valid] for [the specified commodity ID].
|
|
IsNameValid ( int CommodityID, string Name ) : bool |
Determines whether name is valid for the specified commodity ID.
|
public AddCommodity ( |
||
commodity | ||
return | bool |
public CommodityService ( IUnitOfWork unitOfWork ) : System | ||
unitOfWork | IUnitOfWork | |
return | System |
public DeleteCommodity ( |
||
commodity | ||
return | bool |
public EditCommodity ( |
||
commodity | ||
return | bool |
public FindBy ( bool>.Expression |
||
predicate | bool>.Expression | |
return | List |
public FindById ( int id ) : |
||
id | int | |
return |
public GetAllCommodityViewModelsByParent ( int parentCommodity ) : List |
||
parentCommodity | int | |
return | List |
public GetAllSubCommoditiesByParantId ( int Id ) : List |
||
Id | int | The id. |
return | List |
public GetCommodityByName ( string name ) : |
||
name | string | The name. |
return |
public IsCodeValid ( int CommodityID, string CommodityCode ) : bool | ||
CommodityID | int | The commodity ID. |
CommodityCode | string | The commodity code. |
return | bool |
public IsNameValid ( int CommodityID, string Name ) : bool | ||
CommodityID | int | The commodity ID. |
Name | string | The name. |
return | bool |