private void Map(IDomain src, DomainVm vm) { vm.Id = src.Id; vm.DomainName = src.DomainName; vm.RootContentId = src.RootContentId; vm.LanguageIsoCode = src.LanguageIsoCode; }
private void Map(IEnumerable <IDomain> model, List <DomainVm> vm, MapperContext arg3) { model.ToList().ForEach(src => { var target = new DomainVm(); Map(src, target); vm.Add(target); }); }
private void Map(IDomain model, DomainVm vm, MapperContext arg3) { Map(model, vm); }