public void Create(string name, double length, TrackDifficultyType difficulty, byte[] imageContent, string imageFileExtension)
        {
            var trackMap = new Image
            {
                Content = imageContent,
                FileExtension = imageFileExtension
            };

            var track = new Track
            {
                Name = name,
                Length = length,
                Difficulty = difficulty,
                Map = trackMap
            };

            this.tracks.Add(track);
            this.tracks.Save();
        }
 public IQueryable<Track> GetByDifficulty(TrackDifficultyType difficulty)
 {
     return this.tracks.All().Where(x => x.Difficulty == difficulty);
 }