public async Task <IActionResult> GetPredefined(string watchListId) { var watchList = await _watchListService.GetPredefinedAsync(watchListId); if (watchList == null) { return(NotFound()); } return(Ok(Mapper.Map <WatchList>(watchList))); }
public async Task <IActionResult> GetPredefined(string watchListId) { var watchList = await _watchListService.GetPredefinedAsync(watchListId); if (watchList == null) { return(NotFound()); } return(Ok(Mapper.Map <WatchList>(watchList))); }