Example #1
0
        public IHttpActionResult DeletePower(int id)
        {
            var power = powerService.DeleteHero(id);

            if (power == null)
            {
                return(NotFound());
            }
            return(Ok(power));
        }