C# Class IsThereAnyNews.DataAccess.Implementation.UserRoleRepository

Inheritance: IUserRoleRepository
Show file Open project: jstadnicki/isthereanynews

Public Methods

Method Description
AssignUserRole ( long currentUserId ) : void
GetRolesForUser ( long currentUserId ) : List
GetRolesTypesForUser ( long currentUserId ) : List
UserRoleRepository ( ItanDatabaseContext database ) : System.Collections.Generic

Method Details

AssignUserRole() public method

public AssignUserRole ( long currentUserId ) : void
currentUserId long
return void

GetRolesForUser() public method

public GetRolesForUser ( long currentUserId ) : List
currentUserId long
return List

GetRolesTypesForUser() public method

public GetRolesTypesForUser ( long currentUserId ) : List
currentUserId long
return List

UserRoleRepository() public method

public UserRoleRepository ( ItanDatabaseContext database ) : System.Collections.Generic
database IsThereAnyNews.EntityFramework.ItanDatabaseContext
return System.Collections.Generic