app/Http/Controllers/Handlers/DeleteQueryHandler.php
/**
	 * Soft Delete Steps query by testcase id
	 *
	 * @return int
	 */
Soft Delete Steps query by testcase id
@return int
Soft Delete Steps query by testcase id @return int
public function softDeleteStepsByCaseId($id)
	{    
		try{  
        	$steps = \App\TestStep::where('tc_id' , $id)->update(['soft_delete'=> true]);	
		}catch(Exception $e)
		{
			return 0;
		}
		return 1;
	}
public function softDeleteStepsByCaseId ( $ id ) { try { $ steps = \ App \ TestStep :: where ( 'tc_id' , $ id ) -> update ( [ 'soft_delete' => true ] ) ; } catch ( Exception $ e ) { return 0 ; } return 1 ; }
Soft Delete Steps query by testcase id
 @return int
Soft Delete Steps query by testcase id @return int
//Update show as false //$steps = \App\TestStep::where('tc_id' , $id)->get()->toArray();        	