Ejemplo n.º 1
0
        public static ModuleViewModel ToViewModel(this CodeModule module, ProjectViewModel projectModel = null)
        {
            ModuleViewModel model = IoC.Get <ModuleViewModel>();

            model         = module.MapTo(model);
            model.Project = projectModel;
            return(model);
        }