internal IRoomPrice UpdateRoomPrice(RoomType rType, double price) { if (dbCon.GetRoomPrice(rType) != null) { return(dbCon.UpdateRoomPrice(new RoomPrice(rType, price))); } else { return(dbCon.CreateRoomPrice(rType, price)); } }