public ActionResult Edit(int id, SkillAgregationModel skillAgregation)
 {
     if (ModelState.IsValid)
     {
         if (id != skillAgregation.iAggregationID)
         {
             return RedirectToAction("Message", "Error", new { Error = "スキルアグリゲーション在しません。" });
         }
     }
     string skillGroupIDs = Request.Form["selectSkillGroup"];
     WFMDBDataContext db = new WFMDBDataContext();
     db.uspWFMUpdateAggregation(id, skillAgregation.vAggregationName, skillGroupIDs);
     return RedirectToAction("Index");
 }
        public ActionResult Edit(int id, SkillAgregationModel skillAgregation)
        {
            if (ModelState.IsValid)
            {
                if (id != skillAgregation.iAggregationID)
                {
                    return(RedirectToAction("Message", "Error", new { Error = "スキルアグリゲーション在しません。" }));
                }
            }
            string           skillGroupIDs = Request.Form["selectSkillGroup"];
            WFMDBDataContext db            = new WFMDBDataContext();

            db.uspWFMUpdateAggregation(id, skillAgregation.vAggregationName, skillGroupIDs);
            return(RedirectToAction("Index"));
        }