public ActionResult Create(CentreViewModel centreViewModel) { var organisationId = UserOrganisationId; if (ModelState.IsValid) { centreViewModel.Centre.OrganisationId = organisationId; centreViewModel.Centre = NidanBusinessService.CreateCentre(organisationId, centreViewModel.Centre); return(RedirectToAction("Index")); } centreViewModel.Talukas = new SelectList(NidanBusinessService.RetrieveTalukas(organisationId, e => true).ToList()); centreViewModel.Districts = new SelectList(NidanBusinessService.RetrieveDistricts(organisationId, e => true).ToList()); centreViewModel.States = new SelectList(NidanBusinessService.RetrieveStates(organisationId, e => true).ToList()); centreViewModel.Partners = new SelectList(NidanBusinessService.RetrievePartners(organisationId, e => true).Items.ToList()); return(View(centreViewModel)); }