ok... My viewModel "works" but I have no info in my index. I'm not sure what code would need to go into my controller to set my viewModel equal to my model information so information shows for everything though...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FansProject.Controllers
{
public class AllFanDataController : Controller
{
private FanDbContext db = new FanDbContext();
// GET: AllFanData
public ActionResult Index()
{
IList<AllDataViewModel> view = new List<AllDataViewModel>();
return View(view);
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
n ...
Go to the complete details ...