public void Create_WithValiData_ShouldSaveDataToDatabase()
            {
                // arrange

                // act
                var newItem = sut.Create(sample);

                // assert
                Assert.IsNotNull(newItem);
                Assert.IsTrue(newItem.SampleId != Guid.Empty);

                // cleanup
                sut.Delete(newItem.SampleId);
            }
        public ActionResult Delete(int id)
        {
            SampleRepository r = new SampleRepository();

            r.Delete(id);
            return(RedirectToAction("List"));
        }