public async Task BlogEntryController_get_blog_returns_nocontent_result()
        {
            //ARRANGE
            var Id = -99;
            var mockSelectRepository = new Mock <ISelectRepository <BlogEntry> >();

            mockSelectRepository.Setup(t => t.GetAsync(Id, t => t.BlogPosts)).ReturnsAsync(PopulateBlogEntries().FirstOrDefault(t => t.Id == Id));
            BlogEntryController BlogEntryController = new BlogEntryController(mockSelectRepository.Object);


            //ACT
            var result = await BlogEntryController.Get(Id);

            //ASSERT
            var actionResult = Assert.IsType <ActionResult <BlogEntry> >(result);

            Assert.IsType <NoContentResult>(actionResult.Result);
        }
        public async Task BlogEntryController_get_blog_entries_returns_ok_result()
        {
            //ARRANGE 1
            var Id = 1;
            var mockSelectRepository = new Mock <ISelectRepository <BlogEntry> >();

            mockSelectRepository.Setup(t => t.GetAsync(Id, t => t.BlogPosts)).ReturnsAsync(PopulateBlogEntries().FirstOrDefault(t => t.Id == Id));
            BlogEntryController BlogEntryController = new BlogEntryController(mockSelectRepository.Object);


            //ACT
            var result = await BlogEntryController.Get(Id);

            //ASSERT
            var actionResult = Assert.IsType <ActionResult <BlogEntry> >(result);
            var returnValue  = Assert.IsType <OkObjectResult>(actionResult.Result);
            var blogEntry    = returnValue.Value as BlogEntry;

            Assert.Equal(Id, blogEntry.Id);
        }