Exemplo n.º 1
0
        public ActionResult MoveToDraft(int id, int schemaId, int appId)
        {
            // Update license
            _licenseService.Draft(id, LoggedInUser);

            // Setup status message
            Toastr.Info("License was moved to draft");

            // Return result
            return(RedirectToAction("Index", "Licenses", new { schemaId, appId }));
        }