コード例 #1
0
ファイル: AnuncioController.cs プロジェクト: Hauffe/PLX
        public async Task <ActionResult> BuscarPorId(int id)
        {
            using (ServiceAnuncioClient anuncio = new ServiceAnuncio.ServiceAnuncioClient())
            {
                var ret = await anuncio.buscarPorIdAsync(id);

                return(View(AutoMapper.Mapper.Map <AnuncioVM>(ret)));
            }
        }