public ActionResult DeleteConfirmed(string id)
        {
            CMDM_MULTIPLE_REF_CODE cMDM_MULTIPLE_REF_CODE = db.CMDM_MULTIPLE_REF_CODE.Find(id);

            db.CMDM_MULTIPLE_REF_CODE.Remove(cMDM_MULTIPLE_REF_CODE);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "FORACID,DUPLICATION_ID,ACCOUNTOFFICER_NAME,REF_CODE,SOL_ID,CIF_ID")] CMDM_MULTIPLE_REF_CODE cMDM_MULTIPLE_REF_CODE)
 {
     if (ModelState.IsValid)
     {
         db.Entry(cMDM_MULTIPLE_REF_CODE).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(cMDM_MULTIPLE_REF_CODE));
 }
        public ActionResult Create([Bind(Include = "FORACID,DUPLICATION_ID,ACCOUNTOFFICER_NAME,REF_CODE,SOL_ID,CIF_ID")] CMDM_MULTIPLE_REF_CODE cMDM_MULTIPLE_REF_CODE)
        {
            if (ModelState.IsValid)
            {
                db.CMDM_MULTIPLE_REF_CODE.Add(cMDM_MULTIPLE_REF_CODE);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(cMDM_MULTIPLE_REF_CODE));
        }
        // GET: MultipleRefCode/Delete/5
        public ActionResult Delete(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            CMDM_MULTIPLE_REF_CODE cMDM_MULTIPLE_REF_CODE = db.CMDM_MULTIPLE_REF_CODE.Find(id);

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