示例#1
0
        public async Task <IActionResult> Add(Submission submission)
        {
            if (ModelState.IsValid)
            {
                await service.RegisterSubmission(submission);
            }

            return(RedirectToAction("Index"));
        }