Ejemplo n.º 1
0
        protected override void MakeEntity(ref Dossier e, DossierCreateInput input)
        {
            e.LocalityId = localityService.Resolve(input.LocalityId, input.Locality);

            var userName = HttpContext.Current.User.Identity.Name;
            var user     = userService.Get(userName);

            e.InjectFrom <LookupToInt>(input);
            //TODO:entity.ResponsibleId = user.Id;
        }
Ejemplo n.º 2
0
 protected override void MakeEntity(ref Address e, AddressInput input)
 {
     e.LocalityId = s.Resolve(input.LocalityId, input.Locality);
 }