C# Класс EasyTeach.Core.Services.Dashboard.Impl.LessonService

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

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

Метод Описание
CreateLesson ( ILessonModel lesson ) : void
GetLessonById ( int lessonId ) : ILessonModel
GetLessons ( ) : IQueryable
LessonService ( EntityValidator entityValidator, ILessonRepository lessonRepository, ILessonDtoMapper lessonDtoMapper ) : System
RemoveLesson ( int lessonId ) : void
UpdateLesson ( ILessonModel lesson ) : void

Приватные методы

Метод Описание
Map ( ILessonDto lesson ) : Lesson

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

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

public CreateLesson ( ILessonModel lesson ) : void
lesson ILessonModel
Результат void

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

public GetLessonById ( int lessonId ) : ILessonModel
lessonId int
Результат ILessonModel

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

public GetLessons ( ) : IQueryable
Результат IQueryable

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

public LessonService ( EntityValidator entityValidator, ILessonRepository lessonRepository, ILessonDtoMapper lessonDtoMapper ) : System
entityValidator EntityValidator
lessonRepository ILessonRepository
lessonDtoMapper ILessonDtoMapper
Результат System

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

public RemoveLesson ( int lessonId ) : void
lessonId int
Результат void

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

public UpdateLesson ( ILessonModel lesson ) : void
lesson ILessonModel
Результат void