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