Esempio n. 1
0
        // DELETE api/<controller>/5
        public void Delete(int id)
        {
            if (id < 1)
            {
                throw new ArgumentOutOfRangeException("id");
            }

            //removes this reservation
            _reservationAppService.DeleteReservation(id);
        }