using Microsoft.Data.SqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace QuizplusApi.Models { public interface ISqlRepository where T : class { List SelectAll(); List SelectAllByClause(Expression> filter = null, Func, IOrderedQueryable> orderBy = null, string includeProperties = ""); T SelectById(object id); T SelectSingle(); T Insert(T obj); T Update(T obj); T Delete(object id); } }