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