public ActionResult Create(Cast cast) //(object in parameter), must pass with cshtml "name". ex: castname != name { _castService.AddCast(cast); return(View()); }
//public ActionResult Create(string castname, string profilePath, string gender, string tmdbUrl) public ActionResult Create(Cast cast) { _castService.AddCast(cast); return(View()); }