Exemplo n.º 1
0
        public ActionResult Delete(int id)
        {
            var result = controlService.DeletePerson(id);

            if (result == "deleted")
            {
                return(NoContent());
            }
            else
            {
                return(NotFound());
            }
        }