public ActionResult Plan() { var model = new SponsorViewModel() { sponsor = sd.Get().ToList() }; return View(model); }
public ActionResult Read() { if (!CheckMemberlogin) { return RedirectToAction("login", "admin"); } else { leftModel(); var model = new SponsorViewModel() { sponsor = sd.Get().ToList() }; return View(model); } }