Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.09 KB

README.md

File metadata and controls

48 lines (32 loc) · 2.09 KB

Safari Booking ASP.Net MVC with ASP.Net API

This project is the updated version of Console Application Project .Net to Web Application ASP.MVC and ASP.API

The project follows Database First Approach.

This project is aimed at developing an online Jungle Safari Booking Management System for Forest Department. It is a .Net Console Application that can be used to Book Jungle Safari for various Tiger Reserves and Sanctuaries. Based on the roles (Admin, Tourist) the user can perform and access different features of the application such as Book the Safari (Tourist), add, update or delete parks or safaris (Admin). This system also uses SQL to store the Users, Parks, Safaris, etc.

There are two categories of users who would access the system viz. “Tourists” & “Admin”. Each one of them would have some exclusive privileges, for e.g.:

  1. Tourist is be able to:
    a. Register into the system.
    b. Login to the system using its credentials.
    c. Search Tiger Reserves or Sanctuaries and their Safari details.
    d. Book Safari.
    e. View Booking Status

  2. Admin is able to:
    a. Register into the system.
    b. Login to the system using its credentials.
    c. Add/Modify/Delete Sanctuaries, Safaris, Countries, Gender, VehicleTypes

    To run the solution Go to JungleSafari.Api - appsettings.json file and Add Your Server Name in "Data Source" and Database Name in "Intial Catalog" and do the same thing in appsettings.json file of Jungle.MVC.API folder

app

The project follows the following flow:

When the request is made, the MVC Controller calls the Web API Controller which then calls the Repository. The Repository interacts with the Database and follows the same steps back i.e. from Repository to API Controller to MVC Controller to the Webpage.