Example #1
0
        public ActionResult createServer([FromBody] CreateServerModel objparams)
        {
            AzureRestCaller restCall = new AzureRestCaller();
            var             model    = restCall.CreateServer(objparams);

            return(PartialView("_NewServrList", model));
        }
Example #2
0
        public ActionResult GetAzureServerList(string subscriptionid)
        {
            AzureRestCaller restCall = new AzureRestCaller();
            var             model    = restCall.getAzureList(subscriptionid);

            return(PartialView("_GetServerList", model));
        }