/// <summary>Asynchronously gets all the blogs.</summary>
        public async Task GetBlogsAsync()
        {
            var blogs = await repository.GetBlogsAsync();

            // Fill the blogs collection should be from the thread that created the collection.
            await UIUtils.InvokeFromUIThread(() =>
            {
                Blogs.Clear();
                foreach (var b in blogs)
                {
                    Blogs.Add(new BlogViewModel(repository)
                    {
                        Name = b.Name,
                        Id   = b.Id
                    });
                }
            });
        }