public Content Create(string title, string body, string keyWords, string userFriendlyTitle, ContentCategory category, ContentType contentType, Publisher publisher, IList <FashionFlavor> flavors) { Content c = new Content(); c.Title = title; c.Body = body; c.Type = contentType; c.Keywords = keyWords; c.Category = category; foreach (FashionFlavor ff in flavors) { c.AddFlavor(ff); } _contentRepository.SaveOrUpdate(c); return(c); }