﻿using drawMe.WebApi.Interfaces;
using Microsoft.EntityFrameworkCore;
using System.Linq;

namespace drawMe.WebApi.Providers.EntityQueryable
{
    public class DefaultQueryableProvider : IEntityQueryableProvider
    {
        IQueryable<T> IEntityQueryableProvider.GetQueryable<T>(DbSet<T> dbSet)
        {
            return dbSet.AsQueryable();
        }
    }
}