예제 #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;
            }
        }
예제 #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;
            }
        }