Beispiel #1
0
        public void UpdatePropertyPatrol(Core.Domain.Properties.PropertyPatrol p)
        {
            if (p == null)
            {
                throw new ArgumentNullException("property is null");
            }

            _propertyPatrolRepository.Update(p);
            _eventPublisher.EntityUpdated(p);
        }
Beispiel #2
0
        public void DeletePropertyPatrol(Core.Domain.Properties.PropertyPatrol p)
        {
            if (p == null)
            {
                throw new ArgumentNullException("property is null");
            }

            p.Deleted = true;
            UpdatePropertyPatrol(p);
        }