C# Class ReaLocate.Services.Data.UsersRolesService

Inheritance: IUsersRolesService
Mostra file Open project: MichaelaIvanova/ReaLocate

Public Methods

Method Description
GetRoleById ( string id ) : ExtendedUserRole
GetRoleByName ( string name ) : ExtendedUserRole
UsersRolesService ( IRepository roles ) : Contracts

Method Details

GetRoleById() public method

public GetRoleById ( string id ) : ExtendedUserRole
id string
return ReaLocate.Data.Models.ExtendedUserRole

GetRoleByName() public method

public GetRoleByName ( string name ) : ExtendedUserRole
name string
return ReaLocate.Data.Models.ExtendedUserRole

UsersRolesService() public method

public UsersRolesService ( IRepository roles ) : Contracts
roles IRepository
return Contracts