public async Task <IActionResult> Delete(int id)
        {
            await _watchlistService.Delete(id);

            return(Ok());
        }
Beispiel #2
0
        /// <summary>
        /// Delete the specified watchlist
        /// </summary>
        public async Task <IActionResult> Delete(int watchlistId)
        {
            await _watchlistService.Delete(GetUserId(), watchlistId);

            return(new OkResult());
        }