1 / 11

Enterprise .NET 1 CA - presentation

Team 07. Enterprise .NET 1 CA - presentation. SingAir AirLine Reservation System Introduction. enable online internet users for booking and cancellation of airtickets

aria
Download Presentation

Enterprise .NET 1 CA - presentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Team 07 Enterprise .NET 1 CA - presentation

  2. SingAirAirLine Reservation System Introduction • enable online internet users for booking and cancellation of airtickets • provide functionalities for SingAir staffs to perform maintenance such as flight schedules, Airport information and reporting etc… • Features provided by SingAir Airline Reservation Sytem … • Logon • Maintenance of Customer details & flight Schedule ( CURD) • Booking Fight & Track booking • Cancel Flight • Ariport Management Sub-System (using MVC ) • Reporting module…

  3. Global Use-case Diagram

  4. Screen grab for each usecase

  5. Architectural Diagram

  6. Guiding principles in bullets

  7. Features

  8. Sequence diagram for BookFlight

  9. Airport Management Sub-SystemMVC - Implementation Views( CRUD) Model ( Airport) used by Façade Airport Controller

  10. AirportControllerImpl • public class AirportController : Controller • { • public ActionResult Index() • { : } • public ActionResultMessageBox() • { return View(); } • public ActionResult Details(int id) • { Airport airport = GetFlightFacade().GetAirport(id); • return View(airport); } • public ActionResult Create() • { Airport airport = new Airport(); • return View(airport); } • [HttpPost] public ActionResult Create(FormCollection collection) • { try { Airport airport = new Airport(); • UpdateModel(airport); • GetFlightFacade().CreateAirport(airport); • return RedirectToAction("/Index"); } • catch { return View(); } • } • public ActionResult Edit(intairportId) • { Airport airport = GetFlightFacade().GetAirport(airportId); • return View(airport); }

  11. AirportControllerImpl – Cont’d • [HttpPost] • public ActionResult Edit(intairportId, FormCollection collection) • { try • { Airport airport = GetFlightFacade().GetAirport(airportId); • UpdateModel(airport); • GetFlightFacade().UpdateAirport(airport); return RedirectToAction("/Index"); } • catch { • return View(); • } • } • /// Get FlightFacade • protected FlightFacadeGetFlightFacade() • {//Single place To change easily in future • return FlightFacade.GetInstance(); • }

More Related