The methods that return collections should return Task<IEnumerable<dynamic>> not Task<dynamic>
		
			
				
	
	
		
			15 lines
		
	
	
		
			363 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			363 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Queries
 | 
						|
{
 | 
						|
    using System.Collections.Generic;
 | 
						|
    using System.Threading.Tasks;
 | 
						|
 | 
						|
    public interface IOrderQueries
 | 
						|
    {
 | 
						|
        Task<dynamic> GetOrderAsync(int id);
 | 
						|
 | 
						|
        Task<IEnumerable<dynamic>> GetOrdersAsync();
 | 
						|
 | 
						|
        Task<IEnumerable<dynamic>> GetCardTypesAsync();
 | 
						|
    }
 | 
						|
}
 |