Exemple #1
0
        public void Handle(Messages.Events.AccommodationLeadApproved message)
        {
            var accommodationLead = _repository.GetAccommodationLeadById(message.AccLeadId);

            accommodationLead.Approved = true;
            _repository.Save(accommodationLead);
        }
Exemple #2
0
 // GET api/accommodationleads/5
 public AccommodationLead Get(Guid id)
 {
     return(_contactQueryRepository.GetAccommodationLeadById(id));
 }