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

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

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

Метод Описание
HotelController ( IHotelService hotelService, IHotelChainService hotelChainService ) : System
Index ( ) : System.Web.Mvc.ActionResult
Success ( string message ) : System.Web.Mvc.ActionResult

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

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

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

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

public HotelController ( IHotelService hotelService, IHotelChainService hotelChainService ) : System
hotelService IHotelService
hotelChainService IHotelChainService
Результат System

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

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

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

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