//
 // GET: /Platform/SysDepartment/Edit/5
 public ActionResult Edit(Guid? id)
 {
     var item = new ProjectInfoState();
     if (id.HasValue)
     {
         item = _iProjectInfoStateService.GetById(id.Value);
     }
     return View(item);
 }
        public ActionResult Edit(Guid? id, ProjectInfoState collection)
        {
            if (!ModelState.IsValid)
            {
                return View(collection);
            }

            _iProjectInfoStateService.Save(id, collection);
            _unitOfWork.Commit();

            return RedirectToAction("Index");
        }