C# Class HotelManagement.ServiceApp.SettingService

Inheritance: ISettingService
Show file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
Delete ( SettingDTO obj ) : void
GetAll ( ) : IEnumerable
GetByName ( string name ) : SettingDTO
GetSetting ( int id ) : SettingDTO
Save ( SettingDTO obj ) : void
SettingService ( IRepository settingRepository ) : System

Method Details

Delete() public method

public Delete ( SettingDTO obj ) : void
obj HotelManagement.DTO.SettingDTO
return void

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetByName() public method

public GetByName ( string name ) : SettingDTO
name string
return HotelManagement.DTO.SettingDTO

GetSetting() public method

public GetSetting ( int id ) : SettingDTO
id int
return HotelManagement.DTO.SettingDTO

Save() public method

public Save ( SettingDTO obj ) : void
obj HotelManagement.DTO.SettingDTO
return void

SettingService() public method

public SettingService ( IRepository settingRepository ) : System
settingRepository IRepository
return System