public ActionResult Details(int id) { var model = roomData.GetRoom(id); if (model == null) { return(View("NotFound")); } return(View(model)); }
public RoomModel PostForRoom(RoomModel room) { return(_data.GetRoom(room)); }