Beispiel #1
0
 public static ICollection <T> ToCollectionOf <T>(this ICollection <Item> items)
     where T : class, new()
 {
     return(ModelMapper.MapToCollectionOf <T>(items));
 }
Beispiel #2
0
 public static T MapToNew <T>(this Item item)
     where T : class, new()
 {
     return(ModelMapper.MapItemToNew <T>(item));
 }