C# Class Dahlia.Repositories.RetreatRepository

Inheritance: IRetreatRepository
Show file Open project: HarmonyHacks/Dahlia

Public Methods

Method Description
DeleteById ( int retreatId ) : void
Get ( System.DateTime retreatDate ) : Retreat
GetById ( int id ) : Retreat
GetForParticipant ( int id ) : IEnumerable
RetreatRepository ( ISession session ) : System
Save ( Retreat retreat ) : void

Private Methods

Method Description
IRetreatRepository ( ) : IEnumerable
IRetreatRepository ( Retreat retreat ) : void

Method Details

DeleteById() public method

public DeleteById ( int retreatId ) : void
retreatId int
return void

Get() public method

public Get ( System.DateTime retreatDate ) : Retreat
retreatDate System.DateTime
return Dahlia.Models.Retreat

GetById() public method

public GetById ( int id ) : Retreat
id int
return Dahlia.Models.Retreat

GetForParticipant() public method

public GetForParticipant ( int id ) : IEnumerable
id int
return IEnumerable

RetreatRepository() public method

public RetreatRepository ( ISession session ) : System
session ISession
return System

Save() public method

public Save ( Retreat retreat ) : void
retreat Dahlia.Models.Retreat
return void