Interface ILanguageRepository
- Namespace
- Oqtane.Repository
- Assembly
- Oqtane.Server.dll
public interface ILanguageRepository
Methods
AddLanguage(Language)
Language AddLanguage(Language language)
Parameters
language
Language
Returns
- Language
DeleteLanguage(int)
void DeleteLanguage(int languageId)
Parameters
languageId
int
GetLanguage(int)
Language GetLanguage(int languageId)
Parameters
languageId
int
Returns
- Language
GetLanguages(int)
IEnumerable<Language> GetLanguages(int siteId)
Parameters
siteId
int
Returns
- IEnumerable<Language>
UpdateLanguage(Language)
void UpdateLanguage(Language language)
Parameters
language
Language