Example #1
0
        public StoryCategoryModel GetStoryCategoryModelByID(decimal StoryCategoryId)
        {
            StoryCategoryRepository _StoryCategory = new StoryCategoryRepository();

            return(_StoryCategory.GetStoryCategoryModelByID(StoryCategoryId));
        }
Example #2
0
        /// <summary>
        /// get the StoryCategory by the id
        /// </summary>
        /// <param name="StoryCategory_id"></param>
        /// <returns></returns>
        public List <StoryCategoryModel> GetStoryCategorysByID(decimal StoryCategory_id)
        {
            StoryCategoryRepository _StoryCategory = new StoryCategoryRepository();

            return(_StoryCategory.GetCategoryByID(StoryCategory_id));
        }
Example #3
0
        /// <summary>
        /// Method to get all the StoryCategorys
        /// </summary>
        /// <returns></returns>
        public List <StoryCategoryModel> GetAll()
        {
            StoryCategoryRepository _StoryCategory = new StoryCategoryRepository();

            return(_StoryCategory.GetAllCategory());
        }