C# Class HotelManagement.ServiceApp.UserMenuService

Inheritance: IUserMenuService
Mostra file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
Delete ( UserMenuDTO obj ) : void
GetAll ( ) : IEnumerable
GetByUser ( int userId ) : IEnumerable
GetUserMenu ( int id ) : UserMenuDTO
Save ( UserMenuDTO obj ) : void
UserMenuService ( IRepository userMenuRepository, IRepository menuRepository ) : System

Method Details

Delete() public method

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

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetByUser() public method

public GetByUser ( int userId ) : IEnumerable
userId int
return IEnumerable

GetUserMenu() public method

public GetUserMenu ( int id ) : UserMenuDTO
id int
return UserMenuDTO

Save() public method

public Save ( UserMenuDTO obj ) : void
obj UserMenuDTO
return void

UserMenuService() public method

public UserMenuService ( IRepository userMenuRepository, IRepository menuRepository ) : System
userMenuRepository IRepository
menuRepository IRepository
return System