public ActionResult Create(Guid id, AnnouncementCreateModel model)
        {
            if (!ModelState.IsValid)
                return View(model);

            string announcementUrl =
                BusinessShell.RunWithResult(
                    () =>
                    new AddAnnouncementOperation(model.Contact, User.Identity.Name, model.DisplayOnMainMenu,
                                                 model.DisplayOnSideMenu, model.ExpiryDate, model.IsActive,
                                                 model.Organizer, id, model.SortOrder, model.StartingDate,
                                                 model.StartingTime, model.Abstract, model.Text, model.Title,
                                                 "/announcement/display/{0}", model.Venue));
            return Redirect(announcementUrl);
        }
 public ActionResult Create(Guid id)
 {
     SiteMapItem parentSiteNode = GetSiteMapItem(id);
     var model = new AnnouncementCreateModel
                     {
                         ParentTitle = parentSiteNode.Title,
                         ParentUrl = parentSiteNode.Url,
                         StartingDate = DateTime.Now.Date,
                         ExpiryDate = DateTime.Now.Date,
                         SortOrder = 500,
                         IsActive = true,
                         Title = "Акция"
                     };
     return View(model);
 }