C# Class Cats.Services.Hub.TranslationService

Inheritance: ITranslationService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AddTranslation ( Translation entity ) : bool
DeleteById ( int id ) : bool
DeleteTranslation ( Translation entity ) : bool
Dispose ( ) : void
EditTranslation ( Translation entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Translation
GetAll ( string languageCode ) : List
GetAllTranslation ( ) : List
GetForText ( string text, string langauge ) : string
TranslationService ( IUnitOfWork unitOfWork ) : System

Method Details

AddTranslation() public méthode

public AddTranslation ( Translation entity ) : bool
entity Cats.Models.Hubs.Translation
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteTranslation() public méthode

public DeleteTranslation ( Translation entity ) : bool
entity Cats.Models.Hubs.Translation
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditTranslation() public méthode

public EditTranslation ( Translation entity ) : bool
entity Cats.Models.Hubs.Translation
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int id ) : Translation
id int
Résultat Cats.Models.Hubs.Translation

GetAll() public méthode

public GetAll ( string languageCode ) : List
languageCode string
Résultat List

GetAllTranslation() public méthode

public GetAllTranslation ( ) : List
Résultat List

GetForText() public méthode

public GetForText ( string text, string langauge ) : string
text string
langauge string
Résultat string

TranslationService() public méthode

public TranslationService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System