public async Task <ActionResult <List <ContactViewModel> > > GetListAsync(CancellationToken cancellationToken) { var contacts = await _contactFacade.GetListAsync(cancellationToken); return(Mapper.Map <List <ContactViewModel> >(contacts)); }
public async Task <ActionResult <List <ContactViewModel> > > GetListAsync(CancellationToken cancellationToken) { var contacts = await _contactFacade.GetListAsync(cancellationToken); return(Mapper.Map <List <ContactViewModel> >(contacts)); }