示例#1
0
 public static GlobalZone ToEntity(this GlobalZoneModel model, GlobalZone destination)
 {
     return(AutoMapperConfiguration.Mapper.Map(model, destination));
 }
示例#2
0
 public static GlobalZone ToEntity(this GlobalZoneModel model)
 {
     return(AutoMapperConfiguration.Mapper.Map <GlobalZoneModel, GlobalZone>(model));
 }