public ActionResult Edit([Bind(Include = "Id,Freelancer_Id,Organization,Designation,Responsibilities,AreaofExperiences,Location,FromDate,ToDate")] FREELANCER_EXPERIENCE_INFO_Model fREELANCER_EXPERIENCE_INFO_Model)
 {
     if (ModelState.IsValid)
     {
         fREELANCER_EXPERIENCE_INFO_Model.Freelancer_Id = User.Identity.GetUserId();
         if (_iFreelancerExperienceInfoService.UpdateFreelancerExperience(fREELANCER_EXPERIENCE_INFO_Model))
         {
             return(RedirectToAction("Index"));
         }
     }
     return(View(fREELANCER_EXPERIENCE_INFO_Model));
 }
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            if (User.Identity.GetUserId() == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            FREELANCER_EXPERIENCE_INFO_Model fREELANCER_EXPERIENCE_INFO_Model = _iFreelancerExperienceInfoService.GetById(id);

            if (fREELANCER_EXPERIENCE_INFO_Model == null)
            {
                return(HttpNotFound());
            }
            return(View(fREELANCER_EXPERIENCE_INFO_Model));
        }