コード例 #1
0
        public async Task SubmitAsync()
        {
            var res = await _siteService.CreateSiteResource(SiteId, Name, Identifier);

            if (res)
            {
                _modalService.Close(ModalResult.Cancel());
                Name       = string.Empty;
                Identifier = string.Empty;
                SiteId     = Guid.Empty;
            }
        }