Beispiel #1
0
        public ActionResult OrgContactUsIndex()
        {
            OrganizationViewModel _organizationViewModel = new OrganizationViewModel();

            _organizationViewModel.OrganizationContactResults = Mapper.Map <IEnumerable <OrganizationContact> >(_clientService.GetOrganizationContactByOrganizationID(0, HCRGCLIENT.ClientID));
            foreach (var objorganizationResult in _organizationViewModel.OrganizationContactResults)
            {
                objorganizationResult.EncryptedOrganizationContactID = EncryptString(objorganizationResult.OrganizationContactID.ToString());
            }
            if (HCRGCLIENT.ClientTypeID == 1)
            {
                _organizationViewModel.IsHCRGAdmin = true;
            }
            else
            {
                _organizationViewModel.IsHCRGAdmin = false;
            }
            return(View(_organizationViewModel));
        }