Ejemplo n.º 1
0
        public void DeleteSomeone()
        {
            ContactRepository cr = new ContactRepository();

            cr.DeleteById(1);
            Assert.Equals(1, cr.GetList().Count);
        }
        public void DeleteSomebody()
        {
            int id = 1;
            ContactRepository cr = new ContactRepository();

            cr.DeleteById(id);
            Assert.AreEqual(1, cr.GetList().Count);
        }