public async Task <IActionResult> OnPostApprove(string id, string returnUrl = null)
        {
            if (string.IsNullOrEmpty(id))
            {
                return(NotFound());
            }

            returnUrl = returnUrl ?? Url.Content("~/");

            UsersManager.ChangeUserStatus(context, id, UserStatus.Active);

            await OnGet(id);

            return(Page());
        }
        public async Task <IActionResult> OnPostSubmit(string id, string returnUrl = null)
        {
            if (string.IsNullOrEmpty(id))
            {
                return(NotFound());
            }

            returnUrl = returnUrl ?? Url.Content("~/");

            if (!IsDevelopment)
            {
                return(Page());
            }

            UsersManager.ChangeUserStatus(context, id, UserStatus.Submitted);

            await OnGet(id);

            return(Page());
        }