C# Class HotelManagement.ServiceApp.MenuService

Inheritance: IMenuService
Mostra file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
Delete ( MenuDTO obj ) : void
GetAll ( ) : IEnumerable
GetMenu ( int id ) : MenuDTO
MenuService ( IRepository menuRepository ) : System
Save ( MenuDTO obj ) : void

Method Details

Delete() public method

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

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetMenu() public method

public GetMenu ( int id ) : MenuDTO
id int
return HotelManagement.DTO.MenuDTO

MenuService() public method

public MenuService ( IRepository menuRepository ) : System
menuRepository IRepository
return System

Save() public method

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