public async Task <IActionResult> GetAll() { const string API_LOCATE = CONTROLLER_LOCATE + ".GetAll"; try { var result = await _repository.GetClients(); return(Success(result)); } catch (Exception ex) { return(LogBadRequest( _logger, API_LOCATE, exception: ex )); } }