C# Class IsThereAnyNews.Services.Implementation.UsersService

Inheritance: IUsersService
Datei anzeigen Open project: jstadnicki/isthereanynews

Public Methods

Method Description
LoadAllUsersPublicProfile ( ) : AllUsersPublicProfilesViewModel
LoadUserPublicProfile ( long id ) : UserDetailedPublicProfileViewModel
SubscribeToUser ( SubscribeToUserActivityDto model ) : void
UnsubscribeToUser ( SubscribeToUserActivityDto model ) : void
UsersService ( IUserRepository usersRepository, IUsersSubscriptionRepository usersSubscriptionRepository, IUserAuthentication authentication, IMapper mapper ) : System.Collections.Generic

Private Methods

Method Description
ProjectToViewModel ( UserPublicProfile model ) : UserPublicProfileViewModel

Method Details

LoadAllUsersPublicProfile() public method

public LoadAllUsersPublicProfile ( ) : AllUsersPublicProfilesViewModel
return IsThereAnyNews.ViewModels.AllUsersPublicProfilesViewModel

LoadUserPublicProfile() public method

public LoadUserPublicProfile ( long id ) : UserDetailedPublicProfileViewModel
id long
return IsThereAnyNews.ViewModels.UserDetailedPublicProfileViewModel

SubscribeToUser() public method

public SubscribeToUser ( SubscribeToUserActivityDto model ) : void
model SubscribeToUserActivityDto
return void

UnsubscribeToUser() public method

public UnsubscribeToUser ( SubscribeToUserActivityDto model ) : void
model SubscribeToUserActivityDto
return void

UsersService() public method

public UsersService ( IUserRepository usersRepository, IUsersSubscriptionRepository usersSubscriptionRepository, IUserAuthentication authentication, IMapper mapper ) : System.Collections.Generic
usersRepository IUserRepository
usersSubscriptionRepository IUsersSubscriptionRepository
authentication IUserAuthentication
mapper IMapper
return System.Collections.Generic