async Task <PageVm> GetPageAsync(string pageId) { var page = await _pageLocalRepository.GetPageByIdAsync(pageId); var pageVm = await _pageVmFactory.MapTranslatedPageDtoToPageVmAsync(page); return(pageVm); }
public async Task <PageVm> GetCharacterCreationPageAsync() { var creationTranslatedPage = await _pageLocalRepository.GetPageByIdAsync("char-creation"); var creationPageVm = await _pageVmFactory.MapTranslatedPageDtoToPageVmAsync(creationTranslatedPage); return(creationPageVm); }