コード例 #1
0
        public IActionResult DeleteOrganizer(int id)
        {
            var task = _organizerServices.GetOrganizer(id);

            if (task == null)
            {
                return(BadRequest());
            }
            _organizerServices.DeleteOrganizer(id);
            return(Ok());
        }