コード例 #1
0
        public async Task <IActionResult> FacilityAsync(string id)
        {
            var model = await _featureService.FacilityRemoveAsync(id);

            return(RedirectToPage(typeof(Pages.Manage.Facility.IndexModel).Page(), new
            {
                status = model.GetDisplayName()
            }));
        }