Пример #1
0
        public async Task <IActionResult> CreateARegistrationNumber(string id)
        {
            CodeDTO code = await codeService.CreateARegistrationCode(id);

            if (code == null)
            {
                return(Redirect("/Administration/Code/All"));
            }
            return(View(code));
        }