Beispiel #1
0
        public ActionResult DeleteBattle(Guid id)
        {
            _battleService.DeleteBattle(id);

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

            return(NoContent());
        }