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

            return(result);
        }