All new content items set as Home Page...

Topics: General, Troubleshooting, Writing modules
Aug 11, 2013 at 2:59 PM
Hi all!
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");
            Services.ContentManager.Create(contentItem);
            contentItem.As<ArticlePart>().Title = "owdmowmdomwodmwodmwomd-" + al;
            contentItem.As<AutoroutePart>().DisplayAlias = al.ToString();
            Services.ContentManager.Publish(contentItem);
            return View();
        }
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!
Aug 12, 2013 at 4:51 PM
When i add IContentManager:
_contentManager.Create(contentItem);
Problem was solved

Sorry for stupid question...