Ejemplo n.º 1
0
        /// <summary>
        /// Default constructor defines the service
        /// </summary>
        public ServiceApiPublic(string settingsFilePath)
        {
            Factory factory = new Factory(settingsFilePath);

            _applicationService = factory.GetDbService(AvailableServices.TogglerApplication) as ApplicationService;
        }
        /// <summary>
        /// Default constructor defines the service
        /// </summary>
        public TogglerApiPublic(string settingsFilePath)
        {
            Factory factory = new Factory(settingsFilePath);

            _togglerService = factory.GetDbService(AvailableServices.Toggler) as TogglerService;
        }