Ejemplo n.º 1
0
        public StoryRatingModel GetStoryRatingModelByID(decimal StoryRatingId)
        {
            StoryRatingRepository _StoryRating = new StoryRatingRepository();

            return(_StoryRating.GetStoryRatingModelByID(StoryRatingId));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// get the StoryRating by the id
        /// </summary>
        /// <param name="StoryRating_id"></param>
        /// <returns></returns>
        public List <StoryRatingModel> GetStoryRatingsByID(decimal StoryRating_id)
        {
            StoryRatingRepository _StoryRating = new StoryRatingRepository();

            return(_StoryRating.GetRatingByID(StoryRating_id));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Method to get all the StoryRatings
        /// </summary>
        /// <returns></returns>
        public List <StoryRatingModel> GetAll()
        {
            StoryRatingRepository _StoryRating = new StoryRatingRepository();

            return(_StoryRating.GetAllRating());
        }