public void AddModelVoterUpdate(ApiRecordFormData apiRecordFormData) { ElectionVoter = ConvertToVoter(_getService.GetVoter(apiRecordFormData.UserId)); _addingService.EditVoter(new ElectionVoter { Id = ElectionVoter.Id, Mobile = apiRecordFormData.Mobile, Address = apiRecordFormData.Address, CoverPhotoUrl = FilePath(apiRecordFormData.CoverPhoto), }); }