Ejemplo n.º 1
0
        public IHttpActionResult AddBookToReadList(int bookId)
        {
            UserProfileService service = CreateUserProfileService();

            if (!service.AddBookToReadList(bookId))
            {
                return(InternalServerError());
            }
            return(Ok());
        }