public async Task <IActionResult> DeleteWizardPage(int id)
        {
            if (id <= 0)
            {
                ProblemDetails problem = new ProblemDetails
                {
                    Title    = "Invalid id specified.",
                    Detail   = "The specified id is invalid.",
                    Instance = "CB6F045F-0F2A-4988-B1F2-3B6B1E8F34AD"
                };
                return(BadRequest(problem));
            }
            WizardPage wizardPage = await wizardPageService.FindAsync(id);

            if (wizardPage == null)
            {
                ProblemDetails problem = new ProblemDetails
                {
                    Title  = "Failed getting the wizard page.",
                    Detail =
                        "The database does not contain a wizard page with the specified id.",
                    Instance = "E225D99D-34DB-4B4C-99B5-D6E0722A1F4F"
                };
                return(NotFound(problem));
            }

            await wizardPageService.RemoveAsync(id);

            wizardPageService.Save();
            return(Ok());
        }