public IActionResult Get(int id) { var spell = _repo.GetById(id); return(Ok(spell)); }
public SpellViewModel GetSpellById(int id) { return(SpellMapper.MapEntityToModel(_spellRepository.GetById(id))); }
public IActionResult Get(int id) { var spell = _repo.GetById(id); return(Ok(spell)); }
public SpellViewModel GetSpellById(int id) { return(SpellMapper.MapEntityToModel(_spellRepository.GetById(id))); }