Beispiel #1
0
 public static void SetTo(this FoodIngredientView view, FoodIngredient model)
 {
     Mapper.Map(view, model);
 }
Beispiel #2
0
 public static FoodIngredient ToModel(this FoodIngredientView view)
 {
     return(Mapper.Map <FoodIngredient>(view));
 }