public bool DeleteHousingComplex(HousingComplexDao hcomplex)
 {
     try
     {
         if (housingCVal.Validate(hcomplex))
         {
             ac.DeleteHousingComplex(emap.MapToData(hcomplex));
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch (Exception)
     {
         return(false);
     }
 }
Exemplo n.º 2
0
 public void Test_DeleteHousingComplex()
 {
     Assert.True(ah.DeleteHousingComplex(hc));
 }