public void UpdatePropertyFile(PropertyOffFile propertyOffFile) { if (propertyOffFile == null) { throw new ArgumentNullException("propertyOffFile"); } _propertyFileRepository.Update(propertyOffFile); //event notification _eventPublisher.EntityUpdated(propertyOffFile); }
public static PropertyOffFile ToEntity(this PropertyOffFileModel model, PropertyOffFile destination) { return(model.MapTo(destination)); }
public static PropertyOffFileModel ToModel(this PropertyOffFile entity) { return(entity.MapTo <PropertyOffFile, PropertyOffFileModel>()); }