C# 클래스 FailureTroubleshooting.Data.Repositories.FailureTypeRepository

상속: IFailureTypeRepository
파일 보기 프로젝트 열기: Zjazure/FailureTroubleshooting

공개 메소드들

메소드 설명
CerateCategoryAsync ( FailureTypeCategory category ) : System.Threading.Tasks.Task
CerateFailureTypeAsync ( FailureType type ) : System.Threading.Tasks.Task
GetAllCategories ( ) : IQueryable
GetAllTypes ( ) : IQueryable
GetCategoryByIdAsync ( string id ) : Task
GetFailureTypeByIdAsync ( string id ) : Task
SaveAsync ( FailureType type ) : System.Threading.Tasks.Task
SaveAsync ( FailureTypeCategory category ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
FailureTypeRepository ( IAppDbContext ctx ) : FailureTroubleshooting.Data.Entities

메소드 상세

CerateCategoryAsync() 공개 메소드

public CerateCategoryAsync ( FailureTypeCategory category ) : System.Threading.Tasks.Task
category FailureTroubleshooting.Data.Entities.FailureTypeCategory
리턴 System.Threading.Tasks.Task

CerateFailureTypeAsync() 공개 메소드

public CerateFailureTypeAsync ( FailureType type ) : System.Threading.Tasks.Task
type FailureTroubleshooting.Data.Entities.FailureType
리턴 System.Threading.Tasks.Task

GetAllCategories() 공개 메소드

public GetAllCategories ( ) : IQueryable
리턴 IQueryable

GetAllTypes() 공개 메소드

public GetAllTypes ( ) : IQueryable
리턴 IQueryable

GetCategoryByIdAsync() 공개 메소드

public GetCategoryByIdAsync ( string id ) : Task
id string
리턴 Task

GetFailureTypeByIdAsync() 공개 메소드

public GetFailureTypeByIdAsync ( string id ) : Task
id string
리턴 Task

SaveAsync() 공개 메소드

public SaveAsync ( FailureType type ) : System.Threading.Tasks.Task
type FailureTroubleshooting.Data.Entities.FailureType
리턴 System.Threading.Tasks.Task

SaveAsync() 공개 메소드

public SaveAsync ( FailureTypeCategory category ) : System.Threading.Tasks.Task
category FailureTroubleshooting.Data.Entities.FailureTypeCategory
리턴 System.Threading.Tasks.Task