public IActionResult GetById(string id) { try { return(Ok(clienteApplicationService.GetById(id))); } catch (Exception e) { return(StatusCode(500, e.Message)); } }
public IHttpActionResult GetById(int id) { return(Ok(_appService.GetById(id))); }