示例#1
0
        public async Task <IActionResult> Add(int kind)
        {
            var c = await _store.CreateAndAssignAsync(kind, User);

            await HttpContext.AuditAsync("added", $"{c.Id}");

            return(RedirectToAction("Home", "Jury", new { area = "Contest", cid = c.Id }));
        }