Beispiel #1
0
 public IHttpActionResult RemoveRoom(int id)
 {
     try
     {
         repo.DeleteRoom(id);
         return(Ok("Room Deleted Successfully"));
     }
     catch (Exception)
     {
         return(NotFound());
     }
 }