コード例 #1
0
        public ActionResult DeleteBattle(Guid id)
        {
            _battleService.DeleteBattle(id);

            return(RedirectToAction("Index"));
        }
コード例 #2
0
        public async Task <IActionResult> DeleteById(int id)
        {
            await _battleService.DeleteBattle(id);

            return(NoContent());
        }