예제 #1
0
        public static CarViewModel ToViewModel(Car model)
        {
            var viewModel = new CarViewModel();

            return(viewModel);
        }
예제 #2
0
        public static Car ToModel(CarViewModel viewModel)
        {
            var model = new Car();

            return(model);
        }