public async Task <IActionResult> GetAll()
        {
            var restrictionEntities = await _restrictionRepository.GetAllAsync();

            return(Ok(restrictionEntities));
        }