public async Task <IActionResult> UpdatedWizardPage(int id, [FromBody] WizardPageResource wizardPageResource)
        {
            if (id <= 0)
            {
                ProblemDetails problem = new ProblemDetails
                {
                    Title    = "Invalid id specified.",
                    Detail   = "The specified id is invalid.",
                    Instance = "EC827999-28A5-42EF-A160-F8729F26DB13"
                };
                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 = "ED11431F-AE28-43EE-A1E4-780354217A1E"
                };
                return(NotFound(problem));
            }

            mapper.Map(wizardPageResource, wizardPage);

            wizardPageService.Update(wizardPage);
            wizardPageService.Save();

            WizardPageResourceResult model = mapper.Map <WizardPage, WizardPageResourceResult>(wizardPage);

            return(Ok(model));
        }