C# Class HotelManagement.Controllers.HotelController

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

Méthodes publiques

Méthode Description
HotelController ( IHotelService hotelService, IHotelChainService hotelChainService ) : System
Index ( ) : System.Web.Mvc.ActionResult
Success ( string message ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
Add ( HotelDTO hotel ) : System.Web.Mvc.ActionResult
Create ( HotelDTO hotel ) : System.Web.Mvc.ActionResult
Delete ( HotelDTO hotel, int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult

Method Details

HotelController() public méthode

public HotelController ( IHotelService hotelService, IHotelChainService hotelChainService ) : System
hotelService IHotelService
hotelChainService IHotelChainService
Résultat System

Index() public méthode

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

Success() public méthode

public Success ( string message ) : System.Web.Mvc.ActionResult
message string
Résultat System.Web.Mvc.ActionResult