public async Task <ActionResult> ListarTodos() { using (ServiceAnuncioClient anuncio = new ServiceAnuncio.ServiceAnuncioClient()) { var ret = await anuncio.ListarTodosAsync(); return(View(AutoMapper.Mapper.Map <AnuncioVM[]>(ret))); } }