C# Class HotelManagement.Controllers.BookingController

Inheritance: Controller
Afficher le fichier Open project: avdevelop/hotelmanagement

Méthodes publiques

Méthode Description
AddBooking ( ) : System.Web.Mvc.ActionResult
BookingController ( IBookingService bookingService, IBookingDetailService bookingDetailService, IRoomService roomService ) : System
BookingDays ( string month ) : string
BookingMonths ( ) : string
CheckAvailability ( string arrDay, string arrMonth, string depDay, string depMonth, int persons ) : System.Web.Mvc.ActionResult
DeleteBooking ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Method Details

AddBooking() public méthode

public AddBooking ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

BookingController() public méthode

public BookingController ( IBookingService bookingService, IBookingDetailService bookingDetailService, IRoomService roomService ) : System
bookingService IBookingService
bookingDetailService IBookingDetailService
roomService IRoomService
Résultat System

BookingDays() public méthode

public BookingDays ( string month ) : string
month string
Résultat string

BookingMonths() public méthode

public BookingMonths ( ) : string
Résultat string

CheckAvailability() public méthode

public CheckAvailability ( string arrDay, string arrMonth, string depDay, string depMonth, int persons ) : System.Web.Mvc.ActionResult
arrDay string
arrMonth string
depDay string
depMonth string
persons int
Résultat System.Web.Mvc.ActionResult

DeleteBooking() public méthode

public DeleteBooking ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult