示例#1
0
        public void UpdatePropertyAllotPicture(PropertyAllotPicture propertyAllotPicture)
        {
            if (propertyAllotPicture == null)
            {
                throw new ArgumentNullException("propertyAllotPicture");
            }

            _propertyPictureRepository.Update(propertyAllotPicture);

            //event notification
            _eventPublisher.EntityUpdated(propertyAllotPicture);
        }
示例#2
0
 public static PropertyAllotPicture ToEntity(this PropertyAllotPictureModel model, PropertyAllotPicture destination)
 {
     return(model.MapTo(destination));
 }
示例#3
0
 public static PropertyAllotPictureModel ToModel(this PropertyAllotPicture entity)
 {
     return(entity.MapTo <PropertyAllotPicture, PropertyAllotPictureModel>());
 }