Example #1
0
 public async Task <IActionResult> Remove(int id)
 {
     try
     {
         return(new OkObjectResult(await _pessoaJuridicaService.Remove(id)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }