public async Task <ActionResult> Create(IFormCollection collection) { string ign = Convert.ToString(collection["InGameName"]); string name = Convert.ToString(collection["CharacterName"]); string clas = Convert.ToString(collection["Class"]); try { var newTank = new Tank(ign, name, clas); var TankGear = new TankGear(ign); await FS.AddNewTank(newTank); await FS.AddNewTankGear(TankGear); return(RedirectToAction(nameof(Index))); } catch (Exception e) { var y = e; return(View()); } }