﻿using System;
using System.Linq.Expressions;
using System.Web.Mvc;
using FluentKnockoutHelpers.Core.Builders;
using FluentKnockoutHelpers.Mvc.Builders;

namespace FluentKnockoutHelpers.Mvc
{
    //TODO maybe bring this back or delete it
    //public static class MvcHtmlHelpers
    //{
    //    public static InstanceBuilder<TModel, TKoModel> KnockoutHelperForInstance<TModel, TKoModel>(this HtmlHelper<TModel> @this, Func<TModel, TKoModel> instanceExpr)
    //    {
    //        return new InstanceBuilder<TModel, TKoModel>(@this, instanceExpr);
    //    }

    //    public static InstanceBuilder<TModel, TKoModel> KnockoutHelperForInstance<TModel, TKoModel>(this HtmlHelper<TModel> @this, Func<TModel, TKoModel> instanceExpr, string viewModelPropertyName)
    //    {
    //        return new InstanceBuilder<TModel, TKoModel>(@this, instanceExpr, viewModelPropertyName);
    //    }
    //}
}