public async Task <IActionResult> GetBugByIdAsync(string bugId)
        {
            if (bugId.Length != 24)
            {
                return(BadRequest(new { message = $"Bug Id should be a 24 characters hex string" }));
            }

            try
            {
                var result = await _bugService.GetBugByIdAsync(bugId);

                if (result == null)
                {
                    return(NotFound($"Bug with Id {bugId} is not found"));
                }

                return(Ok(result));
            }
            catch (Exception exception)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError, new { message = exception.Message }));
            }
        }