コード例 #1
0
        public ActionResult EditProviderEndpoint(int id, int endpointId, ProviderEndpointModel model)
        {
            // Edit endpoint details
            ProviderEndpoint endpoint = _applications.EditEndpoint(id, endpointId, model, LoggedInUser);

            // Setup status
            Toastr.Success("Changes to endpoint were successfully saved.");

            // Return result
            return(RedirectToAction("Details", new { endpointId = endpoint.ApplicationId }));
        }