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); }
public int Delete(int id) { return(objclinical.DeleteClinical(id)); }