C# 클래스 EasyTeach.Data.Repostitories.LessonRepository

상속: ILessonRepository
파일 보기 프로젝트 열기: WadeOne/EasyTeach 1 사용 예제들

공개 메소드들

메소드 설명
CreateLesson ( ILessonDto lesson ) : void
GetLessonById ( int lessonId ) : ILessonDto
GetLessons ( ) : IQueryable
LessonRepository ( EasyTeachContext context ) : System
RemoveLesson ( int lessonId ) : void
UpdateLesson ( ILessonDto lesson ) : void

메소드 상세

CreateLesson() 공개 메소드

public CreateLesson ( ILessonDto lesson ) : void
lesson ILessonDto
리턴 void

GetLessonById() 공개 메소드

public GetLessonById ( int lessonId ) : ILessonDto
lessonId int
리턴 ILessonDto

GetLessons() 공개 메소드

public GetLessons ( ) : IQueryable
리턴 IQueryable

LessonRepository() 공개 메소드

public LessonRepository ( EasyTeachContext context ) : System
context EasyTeach.Data.Context.EasyTeachContext
리턴 System

RemoveLesson() 공개 메소드

public RemoveLesson ( int lessonId ) : void
lessonId int
리턴 void

UpdateLesson() 공개 메소드

public UpdateLesson ( ILessonDto lesson ) : void
lesson ILessonDto
리턴 void