示例#1
0
        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();
        }
示例#2
0
 public Task <AttendeesWithDietaryPreferencesWhoHavePaidResult[]> GetCateringReport(Guid eventId)
 {
     return(_attendeesWithDietaryPreferencesWhoHavePaidQuery.Execute());
 }