예제 #1
0
        public IActionResult Delete(string id)
        {
            Agenda agenda = _agendaService.Get(id);

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

            _agendaService.Remove(id);

            return(NoContent());
        }