C# Class Commencement.Controllers.Services.CeremonyService

Inheritance: ICeremonyService
显示文件 Open project: ucdavis/Commencement Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CeremonyService ( IRepository repository ) : System
GetCeremonies ( string userId, TermCode termCode = null ) : List
GetCeremonyIds ( string userId, TermCode termCode = null ) : List
HasAccess ( int id, string userId ) : bool
ResetUserCeremonies ( ) : void
StudentEligibility ( List majors, decimal totalUnits, TermCode termCode = null, int ceremonyIdOverride = null ) : List

Returns ceremonies that this student is eligible for or are eligible to petition for

Method Details

CeremonyService() public method

public CeremonyService ( IRepository repository ) : System
repository IRepository
return System

GetCeremonies() public method

public GetCeremonies ( string userId, TermCode termCode = null ) : List
userId string
termCode TermCode
return List

GetCeremonyIds() public method

public GetCeremonyIds ( string userId, TermCode termCode = null ) : List
userId string
termCode TermCode
return List

HasAccess() public method

public HasAccess ( int id, string userId ) : bool
id int
userId string
return bool

ResetUserCeremonies() public method

public ResetUserCeremonies ( ) : void
return void

StudentEligibility() public method

Returns ceremonies that this student is eligible for or are eligible to petition for
public StudentEligibility ( List majors, decimal totalUnits, TermCode termCode = null, int ceremonyIdOverride = null ) : List
majors List
totalUnits decimal
termCode TermCode
ceremonyIdOverride int
return List