public async Task <SearchResult <TenantLanguageViewModel> > GetsByTenantId(string tenantId) { var items = await _tenantLanguageRepository.GetAllLanguage(tenantId); return(new SearchResult <TenantLanguageViewModel> { Items = items }); }
public async Task <List <TenantLanguageViewModel> > GetLanguages(string tenantId) { return(await _tenantLanguageRepository.GetAllLanguage(tenantId)); }