public ActionResult Edit([Bind(Include = "Id,Title,Published,content,RowVersion")] ViewProjectNews projectNews)
 {
     if (ModelState.IsValid)
     {
         projectNews.ImportFromModel(mngr.Edit(projectNews.ExportToModel()));
         return(RedirectToAction("Index"));
     }
     return(View(projectNews));
 }
        public ActionResult Create([Bind(Include = "Id,Title,Published,content")] ViewProjectNews projectNews)
        {
            if (ModelState.IsValid)
            { //this.User.Identity
                this.mngr.Create(projectNews.ExportToModel(), this.User.Identity.Name);

                return(RedirectToAction("Index"));
            }

            return(View(projectNews));
        }