Beispiel #1
0
        public void Delete_Clinical_Return_OkResult()
        {
            //arrange
            ClinicalDataAccessLayer testClinicalAccess = new ClinicalDataAccessLayer();
            var postId   = 1;
            int expected = 1; //1 = successfully added to DB

            //act
            int returnVal = testClinicalAccess.DeleteClinical(postId);


            //assert
            Assert.Equal(expected, returnVal);
        }
Beispiel #2
0
 public int Delete(int id)
 {
     return(objclinical.DeleteClinical(id));
 }