예제 #1
0
        public async Task <IActionResult> Update(int id, WatchlistForUpdateDto watchlistForUpdate)
        {
            await _watchlistValidatorService.ValidateForUpdate(id, watchlistForUpdate);

            var watchlist = await _watchlistService.Update(id, watchlistForUpdate);

            return(Ok(watchlist));
        }