public ActionResult StworzPost(Post post, FormCollection form) { var idBlogu = (int)TempData["BlogPostId"]; if (ModelState.IsValid) { var test = form["TagsIds"]; ObsługaBazyDanych.dodajPost(idBlogu, post, test); return(RedirectToAction("WyswietlBLog", new { id = idBlogu })); } return(View()); }