Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<StageProperty> WithDapper(Guid id)
- {
- List<Property> result;
- using (var connection = new SqlConnection(ConnectionString))
- {
- result = connection.QueryAsync<Property>(queryString, new
- {
- Id = id
- }).Result.ToList();
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement