public JsonResult GetStories()
        {
            var storyResult = _repository.GetStoriesByUser(_currentUser.UserID);

            UserStoryList returnValue = new UserStoryList { UserStories = storyResult.Stories, IsStale = storyResult.IsStale };

            return Json(returnValue.UserStories, "application/json");
        }
Example #2
0
 public StoryPageView()
 {
     UserStoryList = new UserStoryList();
     AddWord = new AddWord();
 }