public bool DeleteApartment(ApartmentDao apt) { try { if (aptVal.Validate(apt)) { ac.DeleteApartment(emap.MapToData(apt)); return(true); } else { return(false); } } catch (Exception) { return(false); } }
public void Test_DeleteApartments() { Assert.True(ah.DeleteApartment(apt)); }