public async Task <IActionResult> Get(int id) { try { return(new OkObjectResult(await _documentoService.Get(id))); } catch (Exception ex) { throw new Exception(ex.Message); } }
public async Task <IActionResult> Get(int id) { try { return(new OkObjectResult(await _documentoService.Get(id))); } catch (Exception ex) { throw new Exception(ex.Message); } }