public ActionResult SaveFlowsheets(FlowSheetsModel model) { model = verifyModel(model); int id = Convert.ToInt32(Session["patientId"].ToString()); var db_logic = new DatabaseLogic(connection, id); string mrn = Session["mrn"].ToString(); db_logic.PostFlowSheetsData(model, mrn); return(RedirectToAction("FlowSheets", model)); }