コード例 #1
0
 public static FieldDefenition MapToExisting(this FieldDefenitionViewModel viewModel, FieldDefenition model)
 {
     return(AutoMapper.Mapper.Map(viewModel, model));
 }
コード例 #2
0
 public static FieldDefenition MapToModel(this FieldDefenitionViewModel model)
 {
     return(AutoMapper.Mapper.Map <FieldDefenition>(model));
 }