C# Class IsThereAnyNews.DataAccess.Implementation.StatisticsRepository

Inheritance: IStatisticsRepository
ファイルを表示 Open project: jstadnicki/isthereanynews

Public Methods

Method Description
GetNewsThatWasReadMost ( int i ) : List
GetToReadChannels ( int count ) : List
GetUsersThatReadMostNews ( int i ) : List
LoadAllEventsFromAndToDate ( System.DateTime startDate, System.DateTime endDate ) : List
StatisticsRepository ( ItanDatabaseContext database ) : System

Private Methods

Method Description
ProjectToUserStatistics ( User model ) : UserWithStatistics
ToChannelStatistics ( RssChannel model ) : ChannelWithSubscriptionCount
ToRssStatistics ( RssEntryToRead model ) : RssStatistics

Method Details

GetNewsThatWasReadMost() public method

public GetNewsThatWasReadMost ( int i ) : List
i int
return List

GetToReadChannels() public method

public GetToReadChannels ( int count ) : List
count int
return List

GetUsersThatReadMostNews() public method

public GetUsersThatReadMostNews ( int i ) : List
i int
return List

LoadAllEventsFromAndToDate() public method

public LoadAllEventsFromAndToDate ( System.DateTime startDate, System.DateTime endDate ) : List
startDate System.DateTime
endDate System.DateTime
return List

StatisticsRepository() public method

public StatisticsRepository ( ItanDatabaseContext database ) : System
database IsThereAnyNews.EntityFramework.ItanDatabaseContext
return System