C# Class HotelManagement.ServiceApp.HotelService

Inheritance: IHotelService
Show file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
Delete ( HotelDTO obj ) : void
GetAll ( ) : IEnumerable
GetHotel ( int id ) : HotelDTO
HotelService ( IRepository hotelRepository ) : System
Save ( HotelDTO obj ) : void

Method Details

Delete() public method

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

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetHotel() public method

public GetHotel ( int id ) : HotelDTO
id int
return HotelManagement.DTO.HotelDTO

HotelService() public method

public HotelService ( IRepository hotelRepository ) : System
hotelRepository IRepository
return System

Save() public method

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