Ejemplo n.º 1
0
        public void UpdatePropertyRentPicture(PropertyRentPicture propertyRentPicture)
        {
            if (propertyRentPicture == null)
            {
                throw new ArgumentNullException("propertyRentPicture");
            }

            _propertyPictureRepository.Update(propertyRentPicture);

            //event notification
            _eventPublisher.EntityUpdated(propertyRentPicture);
        }
Ejemplo n.º 2
0
 public static PropertyRentPicture ToEntity(this PropertyRentPictureModel model, PropertyRentPicture destination)
 {
     return(model.MapTo(destination));
 }
Ejemplo n.º 3
0
 public static PropertyRentPictureModel ToModel(this PropertyRentPicture entity)
 {
     return(entity.MapTo <PropertyRentPicture, PropertyRentPictureModel>());
 }