public void PostandDeleteTest() { var d = con.Get().Count(); con.Post(new Logging(Convert.ToDateTime("2019-11-26T00:00:00"), 200.3, false, 50)); var e = con.Get().Count(); //Post Assert.AreEqual(d, e - 1); IEnumerable <Logging> log = con.Get(); con.Delete(log.Last().Id); //Delete Assert.AreEqual(d, con.Get().Count()); }