public async Task <ContactDto> GetContactAsync(int contactId) { var contact = await _contactDataService .GetContactAsync(contactId); var result = _mapper.Map <ContactDto>(contact); return(result); }
public async Task <ContactDto> GetContactAsync(int contactId) { var contact = await _contactDataService .GetContactAsync(contactId); var result = _mapper.Map <ContactDto>(contact); return(result); }