Beispiel #1
0
 /// <summary>
 /// News the list.
 /// </summary>
 /// <param name="pageRepo">The page repo.</param>
 /// <returns>Forum Items</returns>
 public static CMSItems NewList(ICmsPageRepository pageRepo)
 {
     CMSItems view = new CMSItems(null, pageRepo, null);
     return view;
 }
Beispiel #2
0
 /// <summary>
 /// News the list.
 /// </summary>
 /// <param name="categoryRepo">The category repo.</param>
 /// <param name="pageRepo">The page repo.</param>
 /// <param name="forumFieldRepo">The forum field repo.</param>
 /// <returns>Forum Entities</returns>
 public static CMSItems NewList(ICmsCategoryRepository categoryRepo, ICmsPageRepository pageRepo, ICmsFieldRepository forumFieldRepo)
 {
     CMSItems view = new CMSItems(categoryRepo, pageRepo, forumFieldRepo);
     return view;
 }
Beispiel #3
0
 /// <summary>
 /// News the list.
 /// </summary>
 /// <param name="categoryRepo">The category repo.</param>
 /// <returns>Forum Items</returns>
 public static CMSItems NewList(ICmsCategoryRepository categoryRepo)
 {
     CMSItems view = new CMSItems(categoryRepo, null, null);
     return view;
 }
Beispiel #4
0
 /// <summary>
 /// News the list.
 /// </summary>
 /// <param name="forumFieldRepo">The forum field repo.</param>
 /// <returns>Forum Items</returns>
 public static CMSItems NewList(ICmsFieldRepository forumFieldRepo)
 {
     CMSItems view = new CMSItems(null, null, forumFieldRepo);
     return view;
 }