public ActionResult Edit2(Arrangement a)
        {
            if(ModelState.IsValid)
            {
                afs.UpdateArrangement(a);
                return RedirectToAction("Index");
            }

            else
            {
                return View();
            }
        }
 public void UpdateArrangement(Arrangement a)
 {
     repoArrangement.Update(a);
     repoArrangement.SaveChanges();
 }
 public Arrangement InsertArrangement(Arrangement a)
 {
     Arrangement result = repoArrangement.Insert(a);
     repoArrangement.SaveChanges();
     return result;
 }