public IHttpActionResult Get() { MyMovieCollectionService myMovieCollectionService = CreateMyMovieCollectionService(); var MyMovieCollections = myMovieCollectionService.GetMyMovieCollections(); return(Ok(MyMovieCollections)); }
private MyMovieCollectionService CreateMyMovieCollectionService() { var ownerId = Guid.Parse(User.Identity.GetUserId()); var myMovieCollectionService = new MyMovieCollectionService(ownerId); return(myMovieCollectionService); }