public static ProjectDto FromViewModelToModel(ProjectViewModel viewModel) { var model = new ProjectDto(); CopyProjectContainerMembersFromViewModelToModel(model, viewModel); return model; }
public static ProjectViewModel FromModelToViewModel(ProjectDto model) { var vm = new ProjectViewModel(); CopyProjectContainerMembersFromModelToViewModel(vm, model); return vm; }