public ActionResult GetFileView(string Id)
        {
            var _workorderems = new workorderEMSEntities();
            var model         = new List <UploadedFiles>();

            try
            {
                var  id      = Cryptography.GetDecryptedData(Id, true);
                long _UserId = 0;
                long.TryParse(id, out _UserId);
                var _FillableFormRepository = new FillableFormRepository();
                model = _IePeopleManager.GetUploadedFilesOfUser(Id);
                var getUser = _workorderems.UserRegistrations.Where(x => x.UserId == _UserId && x.IsDeleted == false && x.IsEmailVerify == true).FirstOrDefault();
                if (getUser != null)
                {
                    var details = _IGuestUserRepository.GetEmployee(_UserId);
                    ViewBag.ImageUser    = details.Image == null ? HostingPrefix + ConstantImages.Replace("~", "") + "no-profile-pic.jpg" : HostingPrefix + ProfilePicPath.Replace("~", "") + details.Image;
                    ViewBag.EmployeeID   = details.EmpId;
                    ViewBag.EmployeeName = details.FirstName + " " + details.LastName;
                    var getDetails = _FillableFormRepository.GetFileList();
                    ViewBag.GreenList = getDetails.Where(x => x.FLT_FileType == "Green").ToList();
                    ViewBag.Red       = getDetails.Where(x => x.FLT_FileType == "Red").ToList();
                    ViewBag.Yellow    = getDetails.Where(x => x.FLT_FileType == "Yellow").ToList();
                }
                return(PartialView("~/Views/NewAdmin/ePeople/_FilesEmployeeManagement.cshtml", model));
            }
            catch (Exception ex)
            {
                return(PartialView("~/Views/NewAdmin/ePeople/_FilesEmployeeManagement.cshtml", model));
            }
        }
        /// <summary>
        /// Created By  :Ashwajit Bansod
        /// Created Date : 10-Oct-2019
        /// Created For : To save file
        /// </summary>
        /// <param name="Obj"></param>
        /// <param name="EmployeeId"></param>
        /// <returns></returns>
        public bool SaveFile(UploadedFiles Obj, string EmployeeId)
        {
            var  _repo   = new FillableFormRepository();
            bool isSaved = false;

            try
            {
                Obj.Action = Obj.Id != null ? "U" : "I";
                var save = _repo.SetFiles(Obj, EmployeeId);
                isSaved = true;
            }
            catch (Exception ex)
            {
                isSaved = false;
                Exception_B.Exception_B.exceptionHandel_Runtime(ex, "public bool SaveFile(UploadedFiles Obj, string EmployeeId)", "Exception While Saving File.", Obj);
                throw;
            }
            return(isSaved);
        }