protected async Task ValidSubmit() { if (Model.Id == 0) { var result = await _appUserService.AddAsync(Model); await SaveAsync(); } else { var result = await _appUserService.UpdateAsync(Model); await SaveAsync(); } }