C# Class HotelManagement.Controllers.RoomController

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

Méthodes publiques

Méthode Description
Detail ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
RoomController ( IRoomService roomService, IHotelService hotelService, IRoomTypeService roomTypeService ) : System
Success ( string message ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
Add ( RoomDTO room ) : System.Web.Mvc.ActionResult
Create ( RoomDTO room ) : System.Web.Mvc.ActionResult
Delete ( RoomDTO room, int id ) : System.Web.Mvc.ActionResult

Method Details

Detail() public méthode

public Detail ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

Index() public méthode

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

RoomController() public méthode

public RoomController ( IRoomService roomService, IHotelService hotelService, IRoomTypeService roomTypeService ) : System
roomService IRoomService
hotelService IHotelService
roomTypeService IRoomTypeService
Résultat System

Success() public méthode

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