Refatoring RequestRepository.