/// <summary> /// A method of controller that returns list of cancelled tickets /// </summary> /// <returns>List of Cancelled tickets</returns> // GET: api/Cancellations public List <Cancellation> GetCancellations() { try { List <Cancellation> cancellations = cancService.GetALLCancellation(); return(cancellations); } catch (CancellationException) { throw; } }
/// <summary> /// A method of controller that returns list of cancelled tickets /// </summary> /// <returns>List of Cancelled tickets</returns> // GET: api/Cancellations public List <Cancellation> GetCancellations() { List <Cancellation> cancellations = cancService.GetALLCancellation(); return(cancellations); }