//[Authorize] public void RemoveToWatchList(int movieId) { var watchList = _watchListRepository.Find(x => x.MovieId == movieId && x.UserId == User.Identity.GetUserId()); if (watchList != null) { var movieToWatch = watchList.First(); movieToWatch.IsActive = false; _unitOfWork.Commit(); } }