public async Task AttendeesWithDietaryPreferencesWhoHavePaidQuery() { var query = new AttendeesWithDietaryPreferencesWhoHavePaidQuery(new ConnectionFactory(@"Server=(localdb)\MSSQLLocalDB; Database=Eventador.EventadorContext; Integrated Security=True; MultipleActiveResultSets=True")); var result = await query.Execute(); result.ShouldBeEmpty(); }
public Task <AttendeesWithDietaryPreferencesWhoHavePaidResult[]> GetCateringReport(Guid eventId) { return(_attendeesWithDietaryPreferencesWhoHavePaidQuery.Execute()); }