public ActionResult insertPerson(FormCollection formCollection) { PersonDAO PerDAO = new PersonDAO(); string Per_Name = formCollection["Per_Name"]; int id_N = Convert.ToInt32(formCollection["id_N"]); int id_Role = Convert.ToInt32(formCollection["id_Role"]); int Gender = Convert.ToInt32(formCollection["Gender"]); DateTime Birthday = Convert.ToDateTime(formCollection["Birthday"]); String Description = formCollection["Description"]; PerDAO.CreatePerson(Per_Name, id_N, id_Role, Gender, Birthday, Description, true); return(View()); }