public ActionResult Create(News news) { if (ModelState.IsValid) { _pictureService.CutUrl(news); _pictureService.Check(news); _service.SaveObject(news); return(RedirectToAction("ViewNews", "Admin")); } news.Date = DateTime.Now; ViewBag.Collection = _pictureService.GetAllPictures(); return(View(news)); }