public IActionResult GetAll() { try { return(Ok(clienteApplicationService.GetAll())); } catch (Exception e) { return(StatusCode(500, e.Message)); } }
public IHttpActionResult Get() { return(Ok(_appService.GetAll())); }
public IActionResult GetAll() { try { return(Ok(clienteApplicationService.GetAll())); } catch (Exception e) { return(StatusCode(500, e.Message)); } }
public IHttpActionResult Get() { return(Ok(_appService.GetAll())); }