C# Class IsThereAnyNews.DataAccess.Implementation.UserRepository

Inheritance: IUserRepository
Afficher le fichier Open project: jstadnicki/isthereanynews Class Usage Examples

Méthodes publiques

Méthode Description
ChangeDisplayName ( long currentUserId, string displayname ) : void
ChangeEmail ( long currentUserId, string email ) : void
CreateNewUser ( string name, string email ) : long
GetAllUsers ( ) : List
GetUserLastReadTime ( long userId ) : System.DateTime
GetUserPrivateDetails ( long currentUserId ) : UserPrivateProfileDto
LoadAllUsersPublicProfileWithChannelsCount ( ) : List
LoadUserPublicProfile ( long id ) : UserPublicProfileDto
UpdateDisplayNames ( List emptyDisplay ) : void
UpdateUserLastReadTime ( long userId, System.DateTime now ) : void
UserRepository ( ItanDatabaseContext database ) : System

Method Details

ChangeDisplayName() public méthode

public ChangeDisplayName ( long currentUserId, string displayname ) : void
currentUserId long
displayname string
Résultat void

ChangeEmail() public méthode

public ChangeEmail ( long currentUserId, string email ) : void
currentUserId long
email string
Résultat void

CreateNewUser() public méthode

public CreateNewUser ( string name, string email ) : long
name string
email string
Résultat long

GetAllUsers() public méthode

public GetAllUsers ( ) : List
Résultat List

GetUserLastReadTime() public méthode

public GetUserLastReadTime ( long userId ) : System.DateTime
userId long
Résultat System.DateTime

GetUserPrivateDetails() public méthode

public GetUserPrivateDetails ( long currentUserId ) : UserPrivateProfileDto
currentUserId long
Résultat IsThereAnyNews.ProjectionModels.UserPrivateProfileDto

LoadAllUsersPublicProfileWithChannelsCount() public méthode

public LoadAllUsersPublicProfileWithChannelsCount ( ) : List
Résultat List

LoadUserPublicProfile() public méthode

public LoadUserPublicProfile ( long id ) : UserPublicProfileDto
id long
Résultat IsThereAnyNews.ProjectionModels.UserPublicProfileDto

UpdateDisplayNames() public méthode

public UpdateDisplayNames ( List emptyDisplay ) : void
emptyDisplay List
Résultat void

UpdateUserLastReadTime() public méthode

public UpdateUserLastReadTime ( long userId, System.DateTime now ) : void
userId long
now System.DateTime
Résultat void

UserRepository() public méthode

public UserRepository ( ItanDatabaseContext database ) : System
database IsThereAnyNews.EntityFramework.ItanDatabaseContext
Résultat System