C# Class HotelManagement.Controllers.RoomController

Inheritance: BaseController
Exibir arquivo Open project: avdevelop/hotelmanagement

Public Methods

Method 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

Method 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 method

public Detail ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

RoomController() public method

public RoomController ( IRoomService roomService, IHotelService hotelService, IRoomTypeService roomTypeService ) : System
roomService IRoomService
hotelService IHotelService
roomTypeService IRoomTypeService
return System

Success() public method

public Success ( string message ) : System.Web.Mvc.ActionResult
message string
return System.Web.Mvc.ActionResult