C# Class HotelManagement.ServiceApp.RoomService

Inheritance: IRoomService
Mostra file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
Delete ( RoomDTO obj ) : void
GetAll ( ) : IEnumerable
GetRoom ( int id ) : RoomDTO
RoomService ( IRepository roomRepository ) : System
Save ( RoomDTO obj ) : void

Method Details

Delete() public method

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

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetRoom() public method

public GetRoom ( int id ) : RoomDTO
id int
return HotelManagement.DTO.RoomDTO

RoomService() public method

public RoomService ( IRepository roomRepository ) : System
roomRepository IRepository
return System

Save() public method

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