public ActionResult <List <ClienteDTO> > Get() { try { var ret = _clientesService.GetAllClientes(); var retDTO = _mapper.Map <List <ClienteDTO> >(ret); return(retDTO); } catch (Exception ex) { return(BadRequest(new { message = ex.Message })); } }