Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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;
            }
        }