public async Task <IActionResult> GetJobsByJob(int userId, string partNumber)
        {
            if (userId != int.Parse(User.FindFirst(ClaimTypes.NameIdentifier).Value))
            {
                return(Unauthorized());
            }

            IEnumerable <Job> directJobs = await _repo.GetJobsByPart(userId, partNumber);

            var jobs = _mapper.Map <IEnumerable <JobForReturnDto> >(directJobs);

            return(Ok(jobs));
        }