C# Class Mhotivo.Implement.Repositories.SecurityRepository

Inheritance: ISecurityRepository
Show file Open project: armejiaf/Mhotivo

Public Methods

Method Description
GetUserLogged ( ) : User
GetUserLoggedEmail ( ) : string
GetUserLoggedName ( ) : string
GetUserLoggedPeoples ( ) : ICollection
GetUserLoggedRole ( ) : Roles
SecurityRepository ( IUserRepository userRepository, IPeopleRepository peopleRepository ) : System.Collections.Generic

Private Methods

Method Description
IsAuthenticated ( ) : bool

Method Details

GetUserLogged() public method

public GetUserLogged ( ) : User
return User

GetUserLoggedEmail() public method

public GetUserLoggedEmail ( ) : string
return string

GetUserLoggedName() public method

public GetUserLoggedName ( ) : string
return string

GetUserLoggedPeoples() public method

public GetUserLoggedPeoples ( ) : ICollection
return ICollection

GetUserLoggedRole() public method

public GetUserLoggedRole ( ) : Roles
return Roles

SecurityRepository() public method

public SecurityRepository ( IUserRepository userRepository, IPeopleRepository peopleRepository ) : System.Collections.Generic
userRepository IUserRepository
peopleRepository IPeopleRepository
return System.Collections.Generic