• Sends a GET request to fetch all student ratings from the backend.

    This service function sends an HTTP request to retrieve all student ratings from the database using the backend API. Returns an empty array if no ratings are present.

    Parameters

    • studentId: number

      The ID of the student.

    • topicId: number

    Returns Promise<StudentRating[]>

    Example

    const studentRatings = await fetchStudentRatings(1, 1)
    

Generated using TypeDoc