public async Task <string> GetPageName(string pageId) { if (String.IsNullOrEmpty(pageId)) { throw new ArgumentNullException(nameof(pageId), "PageId is not defined."); } var name = await _facebookClient.GetPageName(pageId); return(name); }