diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-08 21:00:32 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-08 21:00:32 +0200 |
| commit | e5eeef589fa90d5e605617dcf11be91cfa9b39c5 (patch) | |
| tree | 3ff164a7600a85b0356dbf80fa479d3676409f0d /API/Database/DbRepository.cs | |
| parent | 2bcaa82e555100ffbcf6b23dd330e7bddd67cad6 (diff) | |
| download | DevHive-e5eeef589fa90d5e605617dcf11be91cfa9b39c5.tar DevHive-e5eeef589fa90d5e605617dcf11be91cfa9b39c5.tar.gz DevHive-e5eeef589fa90d5e605617dcf11be91cfa9b39c5.zip | |
Move Interfaces in Models project
Diffstat (limited to 'API/Database/DbRepository.cs')
| -rw-r--r-- | API/Database/DbRepository.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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<TEntity>() + .AsNoTracking() .Take(count) .AsAsyncEnumerable(); } |
