async Task <UserBorrowDto> IBorrowApplicationService.GetBikeBorrowedByUser(Guid userId) { var borrow = _borrowRepository.GetBorrowBy(userId); if (borrow == null) { return(null); } return(await CreateUserBorrowHistory(borrow)); }