示例#1
0
 public static void Map(ProjectModel source, Project destination)
 {
     Mapper.Map(source, destination);
     destination.Status = (short)source.Status;
 }
示例#2
0
 public static void Map(Project source, ProjectModel destination)
 {
     Mapper.Map(source, destination);
     destination.Status = (ProjectStatus)source.Status;
 }