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