public ActionResult Edit(SolicitorFirmByTipstaffRecordViewModel model)
 {
     if (ModelState.IsValid)
     {
         db.Entry(model.SolicitorFirm).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Details", "SolicitorFirm", new { solicitorFirmID = model.solicitorFirmID, tipstaffRecordID = model.tipstaffRecordID }));
     }
     return(View(model));
 }
        //
        // GET: /SolicitorFirm/Edit/5

        public ActionResult Edit(int solicitorFirmID, int tipstaffRecordID)
        {
            SolicitorFirmByTipstaffRecordViewModel model = new SolicitorFirmByTipstaffRecordViewModel(solicitorFirmID, tipstaffRecordID);

            return(View(model));
        }
        //
        // GET: /SolicitorFirm/Details/5

        public ViewResult Details(int solicitorFirmID, int tipstaffRecordID)
        {
            SolicitorFirmByTipstaffRecordViewModel model = new SolicitorFirmByTipstaffRecordViewModel(solicitorFirmID, tipstaffRecordID);

            return(View(model));
        }