SAN MARCOS (CNS) - Authorities investigating a shooting in San Marcos that sent two people to the hospital stumbled upon an indoor marijuana growing operation, a sheriff's sergeant said Thursday.

The shooting at a woodworking business in the 100 block of Bosstick Boulevard took place during a home invasion-type robbery about 8 p.m. Wednesday, San Diego County sheriff's Sgt. Daniel Deese said in a statement.

Two people suffered multiple gunshot wounds and were taken to Palomar Medical Center, Deese said. Both were expected to survive.

Later in the evening, as authorities investigated the shooting and robbery, they found a medium-sized indoor marijuana growing operation at the business, according to Deese. The sergeant said authorities seized 20 marijuana plants, processed marijuana and marijuana growing equipment.

The investigation into both the shooting and the marijuana grow was ongoing.