Esempio n. 1
0
 public IHttpActionResult Delete(int id)
 {
     try
     {
         _estateService.Delete(id);
         return(Ok());
     }
     catch (Exception ec)
     {
         return(BadRequest(ec.Message));
     }
 }