예제 #1
0
        public async Task <ActionResult <List <ContactViewModel> > > GetListAsync(CancellationToken cancellationToken)
        {
            var contacts = await _contactFacade.GetListAsync(cancellationToken);

            return(Mapper.Map <List <ContactViewModel> >(contacts));
        }