From 6a85255c78a448256fab68cd361983ffc85f2b03 Mon Sep 17 00:00:00 2001 From: transtrike Date: Fri, 11 Dec 2020 14:35:39 +0200 Subject: Renamed Models to Data --- Models/Interfaces/Database/IRepository.cs | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 Models/Interfaces/Database/IRepository.cs (limited to 'Models/Interfaces/Database') diff --git a/Models/Interfaces/Database/IRepository.cs b/Models/Interfaces/Database/IRepository.cs deleted file mode 100644 index 449a807..0000000 --- a/Models/Interfaces/Database/IRepository.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Models.Interfaces.Database -{ - public interface IRepository - where TEntity : class - { - //Add Entity to database - Task AddAsync(TEntity entity); - - //Return *count* instances of Entity from the database - IEnumerable Query(int count); - - //Find entity by id - Task FindByIdAsync(object id); - - //Modify Entity from database - Task EditAsync(object id, TEntity newEntity); - - //Delete Entity from database - Task DeleteAsync(object id); - } -} \ No newline at end of file -- cgit v1.2.3