partial void ShowFeedback(NSObject sender)
        {
            var config = UVConfig.ConfigWithSite("techent.uservoice.com");

            config.IdentifyUser(this.UserEmail, this.UserEmail, this.UserEmail);
            UserVoice.Initialize(config);
            UserVoice.PresentUserVoiceInterface(this);
        }
예제 #2
0
        public async Task <IActionResult> Create(UserVoice userVoice)
        {
            if (string.IsNullOrWhiteSpace(userVoice.Content))
            {
                _agileLabsDbContext.Add(userVoice);
                await _agileLabsDbContext.SaveChangesAsync();

                return(RedirectToAction(nameof(Thanks)));
            }
            return(View());
        }