public async Task <IRetrievedContent> GetContentByUrlSlug(string path) { try { path = PageUrlTranslator.TranslateToCmsPath(path); var content = await _contentDelivery.Content.GetByUrl(path, Culture); return(_typeResolver.GetTypedContent(content)); } catch (Refit.ApiException ex) { if (ex.StatusCode == HttpStatusCode.NotFound) { return(null); } throw; } }