Esempio n. 1
0
        public async Task <ActionResult> DeleteStudent(int id)
        {
            await _boardService.DeleteGameAsync(id);

            return(RedirectToAction("Index"));
        }
Esempio n. 2
0
 public async Task DeleteGameAsync(int id)
 {
     await _boardgameRepositiry.DeleteGameAsync(id);
 }