C# Класс HotelManagement.Controllers.RoomController

Наследование: BaseController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Add ( RoomDTO room ) : System.Web.Mvc.ActionResult
Create ( RoomDTO room ) : System.Web.Mvc.ActionResult
Delete ( RoomDTO room, int id ) : System.Web.Mvc.ActionResult

Описание методов

Detail() публичный Метод

public Detail ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

Index() публичный Метод

public Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

RoomController() публичный Метод

public RoomController ( IRoomService roomService, IHotelService hotelService, IRoomTypeService roomTypeService ) : System
roomService IRoomService
hotelService IHotelService
roomTypeService IRoomTypeService
Результат System

Success() публичный Метод

public Success ( string message ) : System.Web.Mvc.ActionResult
message string
Результат System.Web.Mvc.ActionResult