public async Task <ActionResult> ContactDetail(string ContactId) { ContactRepo contactRepo = new ContactRepo(); ContactModel model = new ContactModel(); model = await contactRepo.GetAccount(ContactId); pickListServices = new PicklistServicecs(); model.TitleList = pickListServices.GetPickListItems("Title"); model.TitleList.Insert(0, new PicklistItem()); //Get Suburbs pickListServices = new PicklistServicecs(); model.PropertySuburbList = pickListServices.GetPickListItems("H_Suburbs"); model.PropertySuburbList.Insert(0, new PicklistItem()); //Get Suburbs PropertyStateList = new PicklistServicecs(); model.PropertyStateList = pickListServices.GetPickListItems("H_State"); ViewBag.ContactId = ContactId; return(View(model)); }