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

Inheritance: ToViewModelConverter
Exibir arquivo 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

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