コード例 #1
0
        public ActionResult Getbuildversion(string component)
        {
            dblayer   UserDB = new dblayer();
            Releaseno DDList = new Releaseno();

            DDList.Buildversion = UserDB.GetbuildversionDropdownList(component).ToList();
            return(View(DDList));
        }
コード例 #2
0
        public ActionResult Getcomponents()
        {
            dblayer   UserDB = new dblayer();
            Releaseno DDList = new Releaseno();

            DDList.Releaseticket = UserDB.GetReleaseDropdownList("Releaseticketno").ToList();
            return(View(DDList));
        }
コード例 #3
0
 public ActionResult Details(string Releaseno)
 {
     if (Session["UserName"] != null)
     {
         dblayer UDBHan = new dblayer();
         return(View(UDBHan.Getreleasedetails(Releaseno)));
     }
     else
     {
         return(RedirectToAction("Index", "Account"));
     }
 }
コード例 #4
0
 public ActionResult viewrelasetickets()
 {
     if (Session["UserName"] != null)
     {
         dblayer UDBHan = new dblayer();
         return(View(UDBHan.Getreleasetickets()));
     }
     else
     {
         return(RedirectToAction("Index", "Account"));
     }
 }
コード例 #5
0
 public ActionResult Getdeployementdata()
 {
     if (Session["UserName"] != null)
     {
         dblayer UDBHan    = new dblayer();
         var     ddatalist = UDBHan.GetDeployementdata();
         return(Json(new { data = ddatalist }, JsonRequestBehavior.AllowGet));
     }
     else
     {
         return(RedirectToAction("Index", "Account"));
     }
 }
コード例 #6
0
 public ActionResult Getcomponentformapping(string releaseno)
 {
     if (Session["UserName"] != null)
     {
         dblayer UDBHan    = new dblayer();
         var     ddatalist = UDBHan.Getcomponentformap(releaseno);
         return(Json(new { data = ddatalist }, JsonRequestBehavior.AllowGet));
     }
     else
     {
         return(RedirectToAction("Index", "Account"));
     }
 }