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

            IEnumerable <Part> directParts = await _repo.GetAnyParts(userId);

            var parts = _mapper.Map <IEnumerable <PartForReturnDto> >(directParts);

            return(Ok(parts));
        }