Exemplo n.º 1
0
 public string Delete(Models.HousePostModel houseModel)
 {
     try
     {
         BusinessLogic.HouseManager houseManager = new HouseManager();
         if (houseManager.Delete(houseModel.ID) == true)
         {
             return("Saved");
         }
         else
         {
             return("Failed");
         }
     }
     catch (Exception)
     {
         return("Failed");
     }
 }