C# Class HotelManagement.Controllers.SettingController

Inheritance: BaseController
Show file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
SettingController ( ISettingService settingRepository ) : System
Success ( string message ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Add ( SettingDTO setting ) : System.Web.Mvc.ActionResult
Create ( SettingDTO setting ) : System.Web.Mvc.ActionResult
Delete ( SettingDTO setting, int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Method Details

SettingController() public method

public SettingController ( ISettingService settingRepository ) : System
settingRepository ISettingService
return System

Success() public method

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