[HttpGet("teamname/{teamname}")] // GET /api/team/teamName/Mercedes-AMG Petronas F1 Team public Team GetDriverFromName(string teamname) { DBtools d = new DBtools(); return(d.GetTeam_teamname(teamname)); }