public void DeleteArticle()
        {
            DataContext db = new DataContext();
               int initialCount= db.tbl_Articles.Count();
            SteveDelezioSEAssignment2Sit1.MyService.ServiceManager ms =
                new SteveDelezioSEAssignment2Sit1.MyService.ServiceManager();
            ms.DeleteArticle(12);
            int FinalCount = db.tbl_Articles.Count();

            Assert.AreEqual(initialCount-1,FinalCount);
        }
        public void DeleteArticleNonExistingArticle()
        {
            DataContext db = new DataContext();
            int initialCount = db.tbl_Articles.Count();
            SteveDelezioSEAssignment2Sit1.MyService.ServiceManager ms =
                new SteveDelezioSEAssignment2Sit1.MyService.ServiceManager();
            try
            {
                ms.DeleteArticle(950);
            }
            finally
            {

                int FinalCount = db.tbl_Articles.Count();

                Assert.AreEqual(initialCount, FinalCount);
            }
        }
        public void DeleteArticleWithInvalidId()
        {
            int initialCount = 0;
            int FinalCount = 0;
            DataContext db = new DataContext();
            try
            {
                SteveDelezioSEAssignment2Sit1.MyService.ServiceManager ms =
                    new SteveDelezioSEAssignment2Sit1.MyService.ServiceManager();

                 initialCount = db.tbl_Articles.Count();

                ms.DeleteArticle(-12);

            }
            finally
            {
                FinalCount = db.tbl_Articles.Count();
                Assert.AreEqual(initialCount, FinalCount);
            }
        }