using System;
//using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CSC.Repository.Register;
namespace CSC.Controllers.Register
{
public class RegisterController : Controller
{
// GET: Register
[HttpGet]
public ActionResult CreateNewContact()
{
RegisterRepository registerRepository = new RegisterRepository();
ViewBag.ddlCountry = new SelectList(registerRepository.GetAllDropDown("ddlCountry"), "Value", "Text");
ViewBag.ddlContactType = new SelectList(registerRepository.GetAllDropDown("ddlContactType"), "Value", "Text");
ViewBag.ddlTeamAffiliation = new SelectList(registerRepository.GetAllDropDown("ddlTeamAffiliation"), "Value", "Text");
return View();
}
}
}