public ActionResult TransferResponse(RequestVM model) { var empname = Session["Employeename"].ToString(); IStructuredetailRepository obj = new StructuredetailRepository(); obj.updatetransapp(model.EmployeeId, model.CitytoTransfer, model.positionid); obj.Save(); obj.updatereqt(model.RequestId, empname, model.ResponseReason); obj.Save(); TempData["SuccessMessage101"] = "Successfully Approved"; return(RedirectToAction("Index", "Home")); }