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)); }
public JsonResult GetBindingdetails(string projectId) { var values = financetoolentities.Usp_GetAmDetailsbyProjectId(projectId); return(Json(values, JsonRequestBehavior.AllowGet)); }