public IActionResult GetAllBorrowedByGearUserId()
        {
            var currentUserProfile = GetCurrentProfile();
            var borrow             = _borrowRepository.GetAllBorrowedByGearUserId(currentUserProfile.Id);
            List <BorrowWithGear> borrowWithGear = new List <BorrowWithGear>();

            foreach (Borrow request in borrow)
            {
                BorrowWithGear b = new BorrowWithGear()
                {
                    Borrow = request,
                    Gear   = _gearRepository.GetGearById(request.GearId)
                };
                borrowWithGear.Add(b);
            }

            return(Ok(borrowWithGear));
        }