public static IServiceCollection AddFootballServices(this IServiceCollection services)
        {
            services.AddTransient <ILeagueService, LeagueService>();
            services.AddSingleton(provider => MappingProfile.GetAutoMapperConfiguration(provider).CreateMapper());

            return(services);
        }