public void HealthRepository_GetHealthRecord_ValidCall()
        {
            //Arrange
            List <Health> healthList = CreateTestData.GetListOfHealth();
            var           mockSet    = new Mock <DbSet <Health> >()
                                       .SetupData(healthList, o =>
            {
                return(healthList.Single(x => x.Character_id.CompareTo(o.First()) == 0));
            });

            using (var mockContext = AutoMock.GetLoose())
            {
                var expected = CreateTestData.GetSampleHealth();
                var id       = expected.Character_id;

                mockContext.Mock <CharacterContext>()
                .Setup(x => x.Set <Health>()).Returns(mockSet.Object);

                //Act
                IHealthRepository toTest = mockContext.Create <HealthRepository>();
                var actual = toTest.Get(id);

                actual.Should().NotBeNull();
                expected.Should().NotBeNull();
                actual.Should().BeOfType <Health>();
                expected.Should().BeOfType <Health>();
                actual.Should().BeEquivalentTo(expected);
            }
        }
        public IActionResult Edit(int id)
        {
            HealthModel Health = _HealthRepo.Get(id);

            return(View(Health));
        }