예제 #1
0
        public virtual Contact Get(int contactId)
        {
            contactId.CheckLessThanOrEqual(0, nameof(contactId));
            _logger.LogInformation($"Get contact information for id: '{contactId}'");

            return(_mapper.Map <Contact>((object)_contactRepo.Get(contactId)));
        }
예제 #2
0
 public List <ContactDetails> Get()
 {
     return(_contactRepo.Get());
 }
예제 #3
0
 async Task <ArloContact> _getContact(string contactLink)
 {
     return(await GetEntity(contactLink, () => _contactRepo.Get(contactLink)));
 }
예제 #4
0
 public IEnumerable <ContactData> Get()
 {
     return(_mockContactRepo.Get());
 }