C# Class CapRaffle.Domain.Implementation.EventRepository

Inheritance: IEventRepository
Datei anzeigen Open project: capgemini-stavanger/CapRaffle

Public Methods

Method Description
DeleteEvent ( Event selectedEvent ) : void
DeleteParticipant ( UserEvent participant ) : void
EventParticipants ( int eventId ) : IQueryable
GetRulesForCategory ( int categoryId ) : List
SaveCategory ( Category category ) : void
SaveEvent ( Event changedEvent ) : void
SaveParticipant ( UserEvent participant ) : void
SaveRulesForCategory ( int categoryId, List ruleParameters ) : void

Private Methods

Method Description
DeadlineForEventHasPassed ( int eventid ) : bool
GetRulesetId ( int categoryId ) : int

Method Details

DeleteEvent() public method

public DeleteEvent ( Event selectedEvent ) : void
selectedEvent CapRaffle.Domain.Model.Event
return void

DeleteParticipant() public method

public DeleteParticipant ( UserEvent participant ) : void
participant CapRaffle.Domain.Model.UserEvent
return void

EventParticipants() public method

public EventParticipants ( int eventId ) : IQueryable
eventId int
return IQueryable

GetRulesForCategory() public method

public GetRulesForCategory ( int categoryId ) : List
categoryId int
return List

SaveCategory() public method

public SaveCategory ( Category category ) : void
category CapRaffle.Domain.Model.Category
return void

SaveEvent() public method

public SaveEvent ( Event changedEvent ) : void
changedEvent CapRaffle.Domain.Model.Event
return void

SaveParticipant() public method

public SaveParticipant ( UserEvent participant ) : void
participant CapRaffle.Domain.Model.UserEvent
return void

SaveRulesForCategory() public method

public SaveRulesForCategory ( int categoryId, List ruleParameters ) : void
categoryId int
ruleParameters List
return void