public async Task <IActionResult> Get(string id)
        {
            var userId = User.GetUserId();
            var issue  = await _repo.GetIssue(id);

            if (issue != null)
            {
                var issueToReturn = _mapper.Map <IssueDetailDto>(issue);
                return(Ok(issueToReturn));
            }
            return(NotFound("Issue not found."));
        }