using Newtonsoft.Json.Linq;

using Vit.AutoTemp.Repository;

namespace Vit.Extensions
{
    public static partial class IRepositoryExtensions
    {

        #region ToDataProvider
        public static RespositoryDataProvider<T> ToDataProvider<T>(this IRepository<T> data, string templateName )
        {
            return new RespositoryDataProvider<T>(data, templateName);
        }
        #endregion

    }
}
