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

Exibir arquivo Open project: pashkov/Spontaneous

Public Methods

Method Description
ToDishModel ( Dish dish, string restId, int MenuPId, string lang = DefaultLang, RestaurantModel restaurantModel = null ) : DishModel
ToDishModel ( Dish dish, string restId, string lang = DefaultLang, RestaurantModel restaurantModel = null ) : DishModel

Method Details

ToDishModel() public abstract method

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

ToDishModel() public abstract method

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