C# Class Spontaneous.WebApp.Services.ModelConverter.ToViewModel

Inheritance: ToViewModelConverter
ファイルを表示 Open project: pashkov/Spontaneous Class Usage Examples

Public Methods

Method Description
ToDishModel ( Dish dishData, string restId, int MenuPId, string lang = DefaultLang, RestaurantModel restaurantModel = null ) : DishModel
ToDishModel ( Dish dishData, string restId, string lang = DefaultLang, RestaurantModel restaurantModel = null ) : DishModel
ToUserBaseInsulinCalcProfileModel ( UserBaseInsulinCalcProfile baseProfile ) : UserBaseInsulinCalcProfileModel
ToUserProfileModel ( ProfileBase profileBase ) : UserProfileModel

Method Details

ToDishModel() public method

public ToDishModel ( Dish dishData, string restId, int MenuPId, string lang = DefaultLang, RestaurantModel restaurantModel = null ) : DishModel
dishData Spontaneous.DataModel.Dish
restId string
MenuPId int
lang string
restaurantModel Spontaneous.WebApp.Models.RestaurantModel
return Spontaneous.WebApp.Models.DishModel

ToDishModel() public method

public ToDishModel ( Dish dishData, string restId, string lang = DefaultLang, RestaurantModel restaurantModel = null ) : DishModel
dishData Spontaneous.DataModel.Dish
restId string
lang string
restaurantModel Spontaneous.WebApp.Models.RestaurantModel
return Spontaneous.WebApp.Models.DishModel

ToUserBaseInsulinCalcProfileModel() public method

public ToUserBaseInsulinCalcProfileModel ( UserBaseInsulinCalcProfile baseProfile ) : UserBaseInsulinCalcProfileModel
baseProfile Spontaneous.DataModel.UserBaseInsulinCalcProfile
return Spontaneous.WebApp.Models.UserBaseInsulinCalcProfileModel

ToUserProfileModel() public method

public ToUserProfileModel ( ProfileBase profileBase ) : UserProfileModel
profileBase System.Web.Profile.ProfileBase
return Spontaneous.WebApp.Models.UserProfileModel