Example #1
0
        public IActionResult Delete(string id)
        {
            var program = _programService.Get(id);

            if (program == null)
            {
                return(NotFound());
            }

            _programService.Remove(program.Id);

            return(NoContent());
        }