C# Class FailureTroubleshooting.Data.Repositories.FailureTypeRepository

Inheritance: IFailureTypeRepository
Afficher le fichier Open project: Zjazure/FailureTroubleshooting

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
FailureTypeRepository ( IAppDbContext ctx ) : FailureTroubleshooting.Data.Entities

Method Details

CerateCategoryAsync() public méthode

public CerateCategoryAsync ( FailureTypeCategory category ) : System.Threading.Tasks.Task
category FailureTroubleshooting.Data.Entities.FailureTypeCategory
Résultat System.Threading.Tasks.Task

CerateFailureTypeAsync() public méthode

public CerateFailureTypeAsync ( FailureType type ) : System.Threading.Tasks.Task
type FailureTroubleshooting.Data.Entities.FailureType
Résultat System.Threading.Tasks.Task

GetAllCategories() public méthode

public GetAllCategories ( ) : IQueryable
Résultat IQueryable

GetAllTypes() public méthode

public GetAllTypes ( ) : IQueryable
Résultat IQueryable

GetCategoryByIdAsync() public méthode

public GetCategoryByIdAsync ( string id ) : Task
id string
Résultat Task

GetFailureTypeByIdAsync() public méthode

public GetFailureTypeByIdAsync ( string id ) : Task
id string
Résultat Task

SaveAsync() public méthode

public SaveAsync ( FailureType type ) : System.Threading.Tasks.Task
type FailureTroubleshooting.Data.Entities.FailureType
Résultat System.Threading.Tasks.Task

SaveAsync() public méthode

public SaveAsync ( FailureTypeCategory category ) : System.Threading.Tasks.Task
category FailureTroubleshooting.Data.Entities.FailureTypeCategory
Résultat System.Threading.Tasks.Task