remove single Get()

This commit is contained in:
2020-10-14 12:10:25 -04:00
parent aab741d1f0
commit 97622a576c
4 changed files with 4 additions and 16 deletions

View File

@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace COA.EnterpriseServices.DataAccess.EntityFramework
{
@ -32,11 +31,6 @@ namespace COA.EnterpriseServices.DataAccess.EntityFramework
return true;
}
public T Get(int id)
{
return Get(r => r.Id == id).FirstOrDefault();
}
public ICollection<T> Get(Expression<Func<T, bool>> query)
{
using (var context = new QuickBaseContext())