Don't know the E36 arrangement, but if it's anything like the E46, M52TU, replacing the camshaft sensors (both) would take you no more than two hours. Parts run about $250 if purchased from an online warehouse. A shop would take maybe an hour to replace both camshaft sensors, but charge around $400 in parts. Expect the bill to come close to $600 when finished.
Your Lane ------>