// GET: CompanyProfile/Create
        public ActionResult Create()
        {
            //10/10/2019 aakansha
            ViewBag.FormName = "CompanyProfile";
            var companyProfile = new CompanyProfileModel();

            try
            {
                var companyProfileFrom = _companyProfileService.GetAllCompanyProfile();
                if (companyProfileFrom != null)
                {
                    companyProfile = companyProfileFrom.ToModel();

                    //16/09/19 aakansha
                    var DownloadHistoryListData = _companyProfileService.GetAllDownloadHistory();
                    var downloadhistory         = DownloadHistoryListData.Select(a =>
                                                                                 new DownloadHistoryModel
                    {
                        DocFormat        = a.DocumentFormat,
                        DocType          = a.DocumentType,
                        DocName          = a.DocumentName,
                        DownloadDateTime = a.DownloadDateTime,
                        UserId           = a.UserId,
                        ProcessTypeId    = a.ProcessTypeId,
                        ProcessType      = (ProcessType)a.ProcessTypeId
                    }).ToList();
                    if (downloadhistory.Count() != 0)
                    {
                        companyProfile.DownloadHistoryList = downloadhistory;
                    }
                    return(View(companyProfile));
                }
            }
            catch (Exception ex)
            {
                AddNotification(NotificationMessage.TitleError, NotificationMessage.ErrorMsg, NotificationMessage.TypeError);
            }

            return(View(companyProfile));
        }