コード例 #1
0
        public IActionResult BuscarPorId([FromRoute] int id)
        {
            var resultBD = _empresaService.BuscarPorId(id);
            var resultVM = Mapper.Map <EmpresaVM>(resultBD);

            return(Ok(new { dados = resultVM, notifications = "", success = true }));
        }