public IHttpActionResult GetCancellationById(int id)
        {
            if (!cancService.DeleteCancellationById(id))
            {
                return(NotFound());
            }

            return(Ok("Cancellation deleted"));
        }
        public IHttpActionResult GetCancellationById(int id)
        {
            try
            {
                if (!cancService.DeleteCancellationById(id))
                {
                    return(NotFound());
                }

                return(Ok("Cancellation deleted"));
            }
            catch (CancellationException)
            {
                throw;
            }
        }