protected void Application_Start() { System.Data.Entity.Database.SetInitializer <TrainingSQLContext>(null); GlobalConfiguration.Configure(WebApiConfig.Register); var sqlServer = SqlServerService.GetInstance(); var countryDatasource = CountriesDatasource.GetInstance(); }
public List <LanguagePercent> GetLanguagePercentList(string code) { CountriesDatasource datasource = CountriesDatasource.GetInstance(); return(datasource.GetLanguagePercent(code)); }
public Country GetCountry(string code) { CountriesDatasource datasource = CountriesDatasource.GetInstance(); return(datasource.GetCountry(code)); }