C# Class HotelManagement.ServiceApp.UserService

Inheritance: IUserService
Show file Open project: avdevelop/hotelmanagement

Public Methods

Method Description
Delete ( UserDTO obj ) : void
GetAll ( ) : IEnumerable
GetByEmail ( string email ) : UserDTO
GetUser ( int id ) : UserDTO
Save ( UserDTO obj ) : void
UserService ( IRepository userRepository ) : System

Method Details

Delete() public method

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

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetByEmail() public method

public GetByEmail ( string email ) : UserDTO
email string
return HotelManagement.DTO.UserDTO

GetUser() public method

public GetUser ( int id ) : UserDTO
id int
return HotelManagement.DTO.UserDTO

Save() public method

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

UserService() public method

public UserService ( IRepository userRepository ) : System
userRepository IRepository
return System