public ActionResult insertFilm(FormCollection formCollection) { FilmDAO fDAO = new FilmDAO(); string F_Name = formCollection["F_Name"]; int id_P = Convert.ToInt32(formCollection["Producers"]); DateTime ReleaseDate = Convert.ToDateTime(formCollection["ReleaseDate"]); Double Rating = Convert.ToDouble(formCollection["Rating"]); int LimitAge = Convert.ToInt32(formCollection["LimitAge"]); DateTime AirDate = Convert.ToDateTime(formCollection["AirDate"]); DateTime EndDate = Convert.ToDateTime(formCollection["EndDate"]); String Description = formCollection["Description"]; fDAO.CreateFilm(F_Name, id_P, ReleaseDate, Rating, LimitAge, AirDate, EndDate, Description, true); return(View()); }