Example #1
0
        // GET: AdminController/Create
        public async Task <ActionResult> Create()
        {
            Registration      registration = new Registration();
            IList <Countries> countries    = await _apiHandler.GetCountries();

            @ViewBag.ListofCountry = countries;
            @ViewBag.ListofStates  = new List <States>();
            @ViewBag.ListofCities  = new List <Cities>();
            return(View(registration));
        }