public Fixture AddFixture(Fixture fixture)
        {
            fixture.AwayTeam = _db.Teams.FirstOrDefault(t => t.TeamId == fixture.AwayTeamId);
            fixture.HomeTeam = _db.Teams.FirstOrDefault(t => t.TeamId == fixture.HomeTeamId);

            _db.Fixtures.Add(fixture);
            _db.SaveChanges();

            return fixture;
        }
        public Fixture UpdateFixture(Fixture fixture)
        {
            fixture.FixtureId = fixture.FixtureId;

            fixture.AwayTeam = _db.Teams.FirstOrDefault(t => t.TeamId == fixture.AwayTeamId);
            fixture.HomeTeam = _db.Teams.FirstOrDefault(t => t.TeamId == fixture.HomeTeamId);

            _db.Fixtures.Attach(fixture);
            _db.Entry(fixture).State = EntityState.Modified;
            _db.SaveChanges();
            return fixture;
        }