public async Task <SearchResult <TenantLanguageViewModel> > GetsByTenantId(string tenantId)
        {
            var items = await _tenantLanguageRepository.GetAllLanguage(tenantId);

            return(new SearchResult <TenantLanguageViewModel>
            {
                Items = items
            });
        }
示例#2
0
 public async Task <List <TenantLanguageViewModel> > GetLanguages(string tenantId)
 {
     return(await _tenantLanguageRepository.GetAllLanguage(tenantId));
 }