public IActionResult CharacterDetail(int id) { CharacterSqlDAL dal = new CharacterSqlDAL(); CharacterModel character = dal.GetCharacter(id); return(View(character)); }
public IActionResult CharacterView() { CharacterSqlDAL dal = new CharacterSqlDAL(); return(View(dal.GetAllCharacters())); }