public static TranslationService GetRepository()
        {
            // Create the underlying database access class instance when the service is instantiated.
            // This assumes a connection string named 'Translation' to exist in the configuration file
            // for the client application.

            //db = new Database("Translation");
            return(service ?? (service = new TranslationService()));
        }
        public static TranslationService GetRepository()
        {
            // Create the underlying database access class instance when the service is instantiated.
            // This assumes a connection string named 'Translation' to exist in the configuration file
            // for the client application.

            //db = new Database("Translation");
            return service ?? (service = new TranslationService());
        }