From e5eeef589fa90d5e605617dcf11be91cfa9b39c5 Mon Sep 17 00:00:00 2001 From: transtrike Date: Tue, 8 Dec 2020 21:00:32 +0200 Subject: Move Interfaces in Models project --- API/Database/DbRepository.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'API/Database/DbRepository.cs') diff --git a/API/Database/DbRepository.cs b/API/Database/DbRepository.cs index 5540104..b961a54 100644 --- a/API/Database/DbRepository.cs +++ b/API/Database/DbRepository.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Camera_Shop.Database; +using Models.Interfaces.Database; using Microsoft.EntityFrameworkCore; namespace API.Database @@ -37,6 +37,7 @@ namespace API.Database { return this._context .Set() + .AsNoTracking() .Take(count) .AsAsyncEnumerable(); } -- cgit v1.2.3