public ActionResult Add_Server(int Environment_ID) { var model = new ProjectOffice.Models.Forms.SoftwareCatalogue.Server.Add_Server_Model(); ViewBag.Environment_ID = Environment_ID; ViewBag.Server_List = model.GetServersList(Environment_ID, 1); return(PartialView("~/Views/Forms/SoftwareCatalogue/Server/Add_Server.cshtml", model)); }
public ActionResult Add_Application(int Environment_ID) { Add_Server_Model ServerObject = new ProjectOffice.Models.Forms.SoftwareCatalogue.Server.Add_Server_Model(); var model = new ProjectOffice.Models.Forms.SoftwareCatalogue.Application.Add_Application_Model(); ViewBag.Environment_ID = Environment_ID; ViewBag.Add_Application = GetApplications(); ViewBag.Server_List = ServerObject.GetServersList(Environment_ID, 0); return(PartialView("~/Views/Forms/SoftwareCatalogue/Application/Add_Application.cshtml", model)); }