public async Task <IActionResult> GetJokesCategories()
        {
            try
            {
                var result = await _jokesServices.GetJokesCategories();

                if (result.Count > 0)
                {
                    return(Ok(result));
                }
                else
                {
                    return(NotFound());
                }
            }
            catch (Exception)
            {
                throw new Exception("An error has occured while attempting to fetch the data");
            }
        }