예제 #1
0
        public void UpdatePropertyFile(PropertyOffFile propertyOffFile)
        {
            if (propertyOffFile == null)
            {
                throw new ArgumentNullException("propertyOffFile");
            }

            _propertyFileRepository.Update(propertyOffFile);

            //event notification
            _eventPublisher.EntityUpdated(propertyOffFile);
        }
예제 #2
0
 public static PropertyOffFile ToEntity(this PropertyOffFileModel model, PropertyOffFile destination)
 {
     return(model.MapTo(destination));
 }
예제 #3
0
 public static PropertyOffFileModel ToModel(this PropertyOffFile entity)
 {
     return(entity.MapTo <PropertyOffFile, PropertyOffFileModel>());
 }