public ActionResult Delete(int?id)
        {
            var     service = new PokemonService();
            Pokemon pokemon = service.FindById((int)id);

            PokemonViewModel poker = new PokemonViewModel(pokemon);

            return(View(poker));
        }
        public JsonResult AjaxDelete(int id)
        {
            var     service = new PokemonService();
            Pokemon pokemon = service.FindById(id);

            service.Delete(pokemon);

            return(Json(new
            {
                result = pokemon.CurrentHave,
                success = true
            },
                        JsonRequestBehavior.AllowGet));
        }