private Stream GetImage(string imageSource) { return(imageSource.IsUrl() ? _loadService.TryLoadImage(imageSource).Result : new MemoryStream(Convert.FromBase64String(imageSource))); }