C# Class CapRaffle.Domain.Implementation.StatisticRepository

Inheritance: IStatisticRepository
Mostrar archivo Open project: capgemini-stavanger/CapRaffle

Public Methods

Method Description
CategoryStatistics ( int categoryId ) : CategoryStatistics
UserStatistics ( string email ) : UserStatistics

Private Methods

Method Description
GetUserStatisticForCategory ( ) : List
NumberOfEventTicketsHandedOut ( ) : int
NumberOfEventTicketsNotHandedOut ( ) : int
NumberOfEventsInCategory ( ) : int
NumberOfRaffleParticipantsInCategory ( ) : int
NumberOfTimesEventCreatorHasWonHisOwnRaffle ( ) : int
NumberOfUserTicketsHandedOut ( string email ) : int
UniqueNumberOfRaffleParticipantsInCategory ( ) : int

Method Details

CategoryStatistics() public method

public CategoryStatistics ( int categoryId ) : CategoryStatistics
categoryId int
return CapRaffle.Domain.Statistics.CategoryStatistics

UserStatistics() public method

public UserStatistics ( string email ) : UserStatistics
email string
return CapRaffle.Domain.Statistics.UserStatistics