Fix 147 include order id in details query (#169)
* Adding Id to query so the correct order details are always pulled back * Removing unused usings - also removed the sync method as it is not used anywhere in the solution. The Async should be the preferred one. * Adding integration test for GetByIdWithItemAsync * Rename test
This commit is contained in:
committed by
Steve Smith
parent
c7c16c4265
commit
0d44a514ab
@@ -4,9 +4,8 @@ using System.Threading.Tasks;
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Interfaces
|
||||
{
|
||||
|
||||
public interface IOrderRepository : IRepository<Order>, IAsyncRepository<Order>
|
||||
public interface IOrderRepository : IAsyncRepository<Order>
|
||||
{
|
||||
Order GetByIdWithItems(int id);
|
||||
Task<Order> GetByIdWithItemsAsync(int id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user