C# Class Cats.Web.Adminstration.ViewModelBinder.CommodityTypeViewModelBinder

Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
BindCommodityType ( CommodityTypeViewModel commodityTypeViewModel, CommodityType commodityType = null ) : CommodityType
BindCommodityTypeViewModel ( CommodityType commodityType ) : CommodityTypeViewModel
BindListCommodityTypeViewModel ( List commodityTypes ) : List

Method Details

BindCommodityType() public static method

public static BindCommodityType ( CommodityTypeViewModel commodityTypeViewModel, CommodityType commodityType = null ) : CommodityType
commodityTypeViewModel Cats.Web.Adminstration.Models.ViewModels.CommodityTypeViewModel
commodityType Cats.Models.CommodityType
return Cats.Models.CommodityType

BindCommodityTypeViewModel() public static method

public static BindCommodityTypeViewModel ( CommodityType commodityType ) : CommodityTypeViewModel
commodityType Cats.Models.CommodityType
return Cats.Web.Adminstration.Models.ViewModels.CommodityTypeViewModel

BindListCommodityTypeViewModel() public static method

public static BindListCommodityTypeViewModel ( List commodityTypes ) : List
commodityTypes List
return List