I have a small problem. May be it is very simple, but I can't find a solution.
In my module, in Controller i create new content item of my Type - Article:
There is part of code:
public ActionResult Import()
var rnd = new Random();
var al = rnd.Next();
ContentItem contentItem = Services.ContentManager.New("Article");
contentItem.As<ArticlePart>().Title = "owdmowmdomwodmwodmwomd-" + al;
contentItem.As<AutoroutePart>().DisplayAlias = al.ToString();
All is OK, but all content items created as Home Page. Please tell me how i can solve this and where is my mistake.
Thanks in advance and sorry for Bad English!