1. INTRODUCTION MiHotel is a mid-range hotel chain that started in Traverse City, Michigan in 1980. The chain offers three star service and moderately-priced rooms at its 15 hotels throughout Michigan. MiHotel has plans for a major expansion, building three new hotels in the next three years. As a part of the expansion, the company will be hiring dozens of employees for each new hotel. MiHotels Human Resources (HR) department has decided that the existing online application process is insufficient to handle the demand created by the companys expansion plans. As such, they have decided to implement a new applicant processing system to better meet the needs of their growing company.
2. Background In meeting with the parties involved in creating this system, you realize that people from different departments need to have different levels of access into the system. That is, employees in HR should not have the same screens or access to data that a hotel manager would have, or the access that executives would have. At the same time, the manager from hotel A should not be able to see the data from hotel B. The departments needed for this assignment: HR, Hotel Managers, Executives.
The first part is to think about the flow of logging in. This is something you’ve done over and over, but likely haven’t thought about. The users put in their user ID and password and the system determines which department they work and sends them where they need to go. For this part, you will set this up something like “if user is jsmith go to department XYZ”
3. Assignment
A. Create a flowchart or write out pseudocode for how you are going to control access to the system. Do not worry about specific users, just the department in which they work. (Later in the course we will learn how to authenticate users from a database and retrieve the department in which they work.)
B. Create a new project in Visual Studio, design the form(s) needed to implement your logic from part A. You may hard-code the departments in the decision portion of your code. Submit: a Word document containing your pseudocode/flowchart, screenshots of your screens with the project running, a copy of your code.