public IHttpActionResult AddBookToReadList(int bookId) { UserProfileService service = CreateUserProfileService(); if (!service.AddBookToReadList(bookId)) { return(InternalServerError()); } return(Ok()); }