Exemplo n.º 1
0
        public ActionResult CoreMeasures()
        {
            CoreMeasuresObject coreMeasuresObject = new CoreMeasuresObject();
            ConnectionObject   connectionObject   = new ConnectionObject();

            connectionObject.isConnected = false;

            if (Session["ConnectionObject"] != null)
            {
                connectionObject = Session["ConnectionObject"] as ConnectionObject;
            }
            coreMeasuresObject.connectionObject = connectionObject;

            return(View(coreMeasuresObject));
        }
Exemplo n.º 2
0
        public ActionResult CoreMeasures(CoreMeasuresObject coreMeasuresObject)
        {
            List <string> parameterList = new List <string>();

            parameterList.Add(coreMeasuresObject.connectionObject.DatabaseSelectedName);
            parameterList.Add(coreMeasuresObject.parameter2);
            parameterList.Add(coreMeasuresObject.parameter3);
            parameterList.Add(coreMeasuresObject.parameter4);

            coreMeasuresObject.connectionObject = connection.executeStoredProcedure(coreMeasuresObject.connectionObject
                                                                                    , "Library_model_ccc.report.CoreMeasuresImplementation"
                                                                                    , parameterList
                                                                                    , false);

            return(View(coreMeasuresObject));
        }