/// <summary> /// Story list page /// </summary> /// <param name="dataManager">contains the data manger value</param> /// <param name="projectId">Project Id</param> /// <returns>return the grid list</returns> public JsonResult StoriesList([FromBody] DataManager dataManager, int projectId) { StoryModel story = new StoryModel(this.iStoryBaseModel); var list = story.GetStoriesList(dataManager, projectId); var settings = new JsonSerializerSettings(); return(this.Json(new { result = list, count = story.TotalListCount }, settings)); }