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