Exemple #1
0
        public async Task <IActionResult> TranslationChoice(int choice, int selectBox = 0)
        {
            if (choice == 0)
            {
                return(RedirectToAction("Create"));
            }
            if (selectBox == 0)
            {
                return(NotFound());
            }
            var id = await _caseRepository.CreateCopy(selectBox);

            return(RedirectToAction("TranslationEdit", new { id = id }));
        }