A general-purpose Dapper Repository
Dapper provides the basis for a great database access toolkit. Wrapping its primitives in a small, general-purpose repository enables concise, clear code. The repository interface presented here is highly-opinionated–your mileage may vary.