public async Task <Employee> GetByIdAsync(Guid id) { using (var connection = context.CreateConnection()) { var query = await connection.QueryAsync <Employee>(EmployeeQuery.ById(id)); return(query.SingleOrDefault()); } }