Ejemplo n.º 1
0
        public JsonResult GetAmDetailsbyProjectId(string projectId)
        {
            FinaceTool.Models.AMFilterPidModel AMfiltermodel = new Models.AMFilterPidModel();
            var mylist = financetoolentities.Usp_GetAmDetailsbyProjectId(projectId).SingleOrDefault();

            //var data = mylist[0];
            //if (data != null)
            //{

            //    AMfiltermodel.DealStage = data.DealStageID;
            //    AMfiltermodel.description = data.description;
            //    AMfiltermodel.ProductGroupName = data.ProductGroupName;
            //    AMfiltermodel.ProgramName = data.ProgramName;
            //    AMfiltermodel.ProjectName = data.ProjectName;
            //    AMfiltermodel.ServiceLineName = data.ServiceLineName;
            //    AMfiltermodel.SOWStatus = data.SOWStatus;
            //}
            return(Json(mylist, JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        public JsonResult GetBindingdetails(string projectId)
        {
            var values = financetoolentities.Usp_GetAmDetailsbyProjectId(projectId);

            return(Json(values, JsonRequestBehavior.AllowGet));
        }