Exemple #1
0
 public static Domain.Models.Group ToModel(this EntityModels.Group entity)
 {
     return(entity == null ? null : Mapper.Map <Domain.Models.Group>(entity));
 }
Exemple #2
0
 public static void ToEntity(this Domain.Models.Group model, EntityModels.Group entity)
 {
     Mapper.Map(model, entity);
 }