public bool DeleteStatus(StatusDao status) { try { if (statVal.Validate(status)) { ac.DeleteStatus(emap.MapToData(status)); return(true); } else { return(false); } } catch (Exception) { return(false); } }
public void Test_DeleteStatus() { Assert.True(ah.DeleteStatus(status)); }