public void DeleteById() { AddTest(); var Test_MainInfo = _service_Test.DeleteById(1); Assert.Warn($@"{Test_MainInfo.IsSuccess}"); }
public IHttpActionResult DeleteTestById(int TestId) { var Test_MainInfo = _service_Test.DeleteById(TestId); return(Ok(Test_MainInfo.Message)); }