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