C# Класс Commencement.Controllers.Services.CeremonyService

Наследование: ICeremonyService
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

CeremonyService() публичный Метод

public CeremonyService ( IRepository repository ) : System
repository IRepository
Результат System

GetCeremonies() публичный Метод

public GetCeremonies ( string userId, TermCode termCode = null ) : List
userId string
termCode TermCode
Результат List

GetCeremonyIds() публичный Метод

public GetCeremonyIds ( string userId, TermCode termCode = null ) : List
userId string
termCode TermCode
Результат List

HasAccess() публичный Метод

public HasAccess ( int id, string userId ) : bool
id int
userId string
Результат bool

ResetUserCeremonies() публичный Метод

public ResetUserCeremonies ( ) : void
Результат void

StudentEligibility() публичный Метод

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
Результат List