public async Task <GetRentalDto> OwnerUpdateRentalAsync(OwnerUpdateRentalDto item, CancellationToken ct = default)
        {
            var itemToUpdate = await _unitOfWork.RentalRepository.GetAsync(item.RentalId, ct);

            _mapper.Map(item, itemToUpdate);

            itemToUpdate.UpdatedAt = DateTime.UtcNow;

            _unitOfWork.RentalRepository.Update(itemToUpdate);

            await _unitOfWork.CommitAsync(ct);

            return(_mapper.Map <GetRentalDto>(itemToUpdate));
        }
        public async Task <ActionResult> OwnerUpdateRentalAsync([FromBody] OwnerUpdateRentalDto rental)
        {
            var result = await _rentalService.OwnerUpdateRentalAsync(rental);

            return(Json(JsonResultData.Success(result)));
        }