public async Task <IActionResult> OnPostAsync() { var result = await this.OnPostHandlerAsync( () => _featureService.FacilityAddOrUpdateAsync(NewFacility, !NewFacility.IsNew, true), typeof(IndexModel).Page(), typeof(AddModel).Page()); return(result); }