protected override void MakeInput(Dossier entity, ref DossierCreateInput input) { input.LocalityId = entity.LocalityId; if (!input.LocalityId.HasValue) { return; } var o = localityService.Get(input.LocalityId.Value); if (o != null) { input.Locality = o.Name; } }
protected override void MakeInput(Address e, ref AddressInput input) { input.LocalityId = e.LocalityId; if (!input.LocalityId.HasValue) { return; } var o = s.Get(input.LocalityId.Value); if (o != null) { input.Locality = o.Name; } }