Пример #1
0
        public void UpdatePropertyFile(PropertyLendFile propertyLendFile)
        {
            if (propertyLendFile == null)
            {
                throw new ArgumentNullException("propertyLendFile");
            }

            _propertyFileRepository.Update(propertyLendFile);

            //event notification
            _eventPublisher.EntityUpdated(propertyLendFile);
        }
Пример #2
0
 public static PropertyLendFile ToEntity(this PropertyLendFileModel model, PropertyLendFile destination)
 {
     return(model.MapTo(destination));
 }
Пример #3
0
 public static PropertyLendFileModel ToModel(this PropertyLendFile entity)
 {
     return(entity.MapTo <PropertyLendFile, PropertyLendFileModel>());
 }