public ActionResult SaveData(ProjectTypeChangeViewModel projecttypes)
        {
            if (projecttypes.updated != null)
            {
                foreach (var updated in projecttypes.updated)
                {
                    _projectTypeService.Update(updated);
                }
            }
            if (projecttypes.deleted != null)
            {
                foreach (var deleted in projecttypes.deleted)
                {
                    _projectTypeService.Delete(deleted);
                }
            }
            if (projecttypes.inserted != null)
            {
                foreach (var inserted in projecttypes.inserted)
                {
                    _projectTypeService.Insert(inserted);
                }
            }
            _unitOfWork.SaveChanges();

            return(Json(new { Success = true }, JsonRequestBehavior.AllowGet));
        }