Check out example codes for "c# dapper execute stored procedure with parameters". It will help you in understanding the concepts better.

Code Example 1

public void GetSomething(int somethingId)
    IRepository<Something, SomethingEnum> repository = UnitOfWork.GetRepository<Something, SomethingEnum>();

    var param = new DynamicParameters();
    param.Add("@somethingId", dbType: DbType.Int32, value:somethingId, direction: ParameterDirection.Input);

    var result = repository.Exec<Something>(SomethingEnum.spMyStoredProcedure, param);



Learn ReactJs, React Native from