C# Class Cats.Areas.Settings.ViewModelBinder.CommodityViewModelBinder

Show file Open project: edgecomputing/cats

Public Methods

Method Description
BindCommodity ( CommodityViewModel commodityViewModel, Commodity commodity = null ) : Commodity
BindCommodityViewModel ( Commodity commodity ) : CommodityViewModel
BindListCommodityViewModel ( List commodities ) : List

Method Details

BindCommodity() public static method

public static BindCommodity ( CommodityViewModel commodityViewModel, Commodity commodity = null ) : Commodity
commodityViewModel Cats.Areas.Settings.Models.ViewModels.CommodityViewModel
commodity Cats.Models.Hubs.Commodity
return Cats.Models.Hubs.Commodity

BindCommodityViewModel() public static method

public static BindCommodityViewModel ( Commodity commodity ) : CommodityViewModel
commodity Cats.Models.Hubs.Commodity
return Cats.Areas.Settings.Models.ViewModels.CommodityViewModel

BindListCommodityViewModel() public static method

public static BindListCommodityViewModel ( List commodities ) : List
commodities List
return List