public async Task AttendeeSessionsQuery() { var query = new AttendeeSessionsQuery(new ConnectionFactory(@"Server=(localdb)\MSSQLLocalDB; Database=Eventador.EventadorContext; Integrated Security=True; MultipleActiveResultSets=True")); var result = await query.Execute(new AttendeeSessionsQueryParameters { EventId = Guid.NewGuid() }); result.ShouldBeEmpty(); }
public Task <AttendeeSessionsQueryResult[]> GetWithSessions(AttendeeSessionsQueryParameters parameters) { return(_attendeeSessionsQuery.Execute(parameters)); }