public SampleRepository()
        {
            if (!Authors.Any())
            {
                var author1CreateResult = Author.CreateAuthor(0, "PALASH", "DEBNATH");
                if (author1CreateResult.IsSuccess)
                {
                    Authors.Add(author1CreateResult.Value);
                }

                var author2CreateResult = Author.CreateAuthor(1, "PRITAM", "DEBNATH");
                if (author2CreateResult.IsSuccess)
                {
                    Authors.Add(author2CreateResult.Value);
                }

                if (!Posts.Any())
                {
                    var blogPost1CreateResult = BlogPost.CreateBlogPost(
                        1,
                        "Mastering C#",
                        "This is a series of articles on C#.",
                        author1CreateResult.Value);

                    if (blogPost1CreateResult.IsSuccess)
                    {
                        Posts.Add(blogPost1CreateResult.Value);
                    }

                    var blogPost2CreateResult = BlogPost.CreateBlogPost(
                        2,
                        "Mastering Mechanical Engineering",
                        "This is a series of articles on Mechanical Engineering",
                        author2CreateResult.Value);

                    if (blogPost2CreateResult.IsSuccess)
                    {
                        Posts.Add(blogPost2CreateResult.Value);
                    }
                }
            }
        }