C# Class HotelManagement.ServiceApp.BookingService

Inheritance: IBookingService
Mostra file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
BookingService ( IRepository bookingRepository ) : System
Delete ( BookingDTO obj ) : void
GetAll ( ) : IEnumerable
GetBooking ( int id ) : BookingDTO
Save ( BookingDTO obj ) : void

Method Details

BookingService() public method

public BookingService ( IRepository bookingRepository ) : System
bookingRepository IRepository
return System

Delete() public method

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

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetBooking() public method

public GetBooking ( int id ) : BookingDTO
id int
return HotelManagement.DTO.BookingDTO

Save() public method

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