C# Class IS.Model.Service.AuditoryService

Сервис для работы с аудиториями.
Exibir arquivo Open project: dha01/IS Class Usage Examples

Public Methods

Method Description
AuditoryService ( ) : System

Конструктор без параметров.

AuditoryService ( IAuditoryRepository auditory_repository ) : System

Конструктор класс.

Create ( AuditoryItem auditory ) : int

Создает аудиторию.

Delete ( int id ) : void

Удаляет аудиторию.

GetById ( int id ) : AuditoryItem

Получает аудиторию по идентификатору.

GetList ( ) : List

Получает список аудиторий.

Update ( AuditoryItem auditory ) : void

Измененяет данные об аудитории.

Method Details

AuditoryService() public method

Конструктор без параметров.
public AuditoryService ( ) : System
return System

AuditoryService() public method

Конструктор класс.
public AuditoryService ( IAuditoryRepository auditory_repository ) : System
auditory_repository IAuditoryRepository Интерфейс репозитория аудиторий.
return System

Create() public method

Создает аудиторию.
public Create ( AuditoryItem auditory ) : int
auditory IS.Model.Item.Auditory.AuditoryItem Аудитория.
return int

Delete() public method

Удаляет аудиторию.
public Delete ( int id ) : void
id int Идентификатор.
return void

GetById() public method

Получает аудиторию по идентификатору.
public GetById ( int id ) : AuditoryItem
id int Идентификатор.
return IS.Model.Item.Auditory.AuditoryItem

GetList() public method

Получает список аудиторий.
public GetList ( ) : List
return List

Update() public method

Измененяет данные об аудитории.
public Update ( AuditoryItem auditory ) : void
auditory IS.Model.Item.Auditory.AuditoryItem Аудитория.
return void