예제 #1
0
        public async Task <IActionResult> DeleteMythConfirmed(string question, string path)
        {
            if (!string.IsNullOrEmpty(question) && !string.IsNullOrEmpty(path))
            {
                await _jsonService.RemoveValueAsync(path, question);
            }

            return(RedirectToAction(nameof(Myth), new { reference = path }));
        }