title: Passing Output parameters to stored procedure using dapper in c# code
body: <p>I have a stored  procedure in this format </p>
  
  <pre><code>CREATE PROCEDURE SP_MYTESTpROC
      @VAR1 VARCHAR(10),
      @VAR2 VARCHAR(20),
      @BASEID INT ,
      @NEWID INT OUTPUT
  As Begin
     INSERT INTO TABLE_NAME(username, firstname)
        select @VAR1, @VAR2 
        WHERE ID = @BASEID
  
     SET @NEWID = SCOPE_IDENTITY() AS INT
  END
  </code></pre>
  
  <p>I am calling this stored procedure from C# code using dapper. My question is: how do I pass in the output parameter to the stored procedure while using dapper?</p>