public ActionResult GetSingleCallDetail(int? isessionprofileid, string vServerName) { ViewBag.iSessionID = isessionprofileid.Value; using (WFMDBDataContext db = new WFMDBDataContext(string.Format(System.Configuration.ConfigurationManager.ConnectionStrings["SpecialConnection"].ConnectionString, DBServer))) { ISingleResult<tblSingleCallDetail> results = db.uspWFMGetSingleCallDetail(isessionprofileid, vServerName); return PartialView("SignleCallDetail", results.ToList()); } }
public ActionResult GetSingleCallDetail(int?isessionprofileid, string vServerName) { ViewBag.iSessionID = isessionprofileid.Value; using (WFMDBDataContext db = new WFMDBDataContext(string.Format(System.Configuration.ConfigurationManager.ConnectionStrings["SpecialConnection"].ConnectionString, DBServer))) { ISingleResult <tblSingleCallDetail> results = db.uspWFMGetSingleCallDetail(isessionprofileid, vServerName); return(PartialView("SignleCallDetail", results.ToList())); } }