Example #1
0
        public ActionResult Delete(string id)
        {
            PokemonDTO found = service.GetByID(id);

            if (found == null)
            {
                return(NotFound());
            }
            service.DeleteByID(id);
            return(NoContent());
        }