public virtual ActionResult RemoveContact(string operationNumber, int executorContactId) { var removeContact = _operationContactsService.RemoveContact(executorContactId); var model = new OperationContactsViewModel(); var response = _operationContactsService.GetOperationContacts(operationNumber); var eaRoles = _viewModelMapperHelper.GetListEaRole(); var institutions = _viewModelMapperHelper.GetAllInstitutions(); var countries = _viewModelMapperHelper.GetCountryList(); model.EaRole = eaRoles.EaRole; model.Institution = institutions.ListItemInstitution; model.Country = countries.CountryList; model.OperationContactsRow = response.OperationContacts.OperationContactsRow == null ? new List <OperationContactsRowViewModel>() : response.OperationContacts.OperationContactsRow; model.Display = _viewModelMapperHelper.GetDisplayedOptions(); return(PartialView("~/Areas/Contacts/Views/ControlPanelContacts/ControlPanelOperationContacts.cshtml", model)); }