Date of review book reviewed etc admins can add

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
date of review, book reviewed, etc. Admins can add, update (except for their email address) or delete users as well as books for users. When admins add reviews for books, both admins and users can see the history of reviews. However, only admins can alter them. Currently there is only one admin. Only admins can register other users as admins. This can be achieved by coping the Register Page URL, logging in as an admin and opening the Register URL in a separate tab. You will see isAdmin checkbox. This is a Boolean value in our code, which makes sure that the user will be added with admin privileges. Users are authors who create profiles on the website and post the books they want to be reviewed before publishing. They are able to see which of their writings have been reviewed and by whom (as well as other details). They can also print the review record. Users can submit books for different authors, thus be representatives of more than one writer, or they can be writers on their own and upload their own books only. Users can be searched by their name, email, or phone. Database Description: Admins and users are tracked by two different IDs in the AspNetUserRoles table. Except for User and User related tables, we have created Books table to store information about books, Reviews table to store information about book reviews, and ReviewTypes table to store the list of reviewers. Books table is related to AspNetUserRoles table with a foreign key UserId, and Reviews can also be tracked with foreign keys BookId and Reviewer. This makes it possible to display Past Review Records to an admin (this can be seen when creating New Review on the website).
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern