public SurveyCountsService()
        {
            _rest = DependencyService
                    .Get <IRest>();

            _server = DependencyService
                      .Get <INfieldServer>();
        }
        public AppSettingsView()
        {
            _nfieldServer = DependencyService
                            .Get <INfieldServer>();

            InitializeComponent();

            BindingContext = new GetServerSettingsViewModel();
        }
        public SurveysService()
        {
            _rest = DependencyService
                    .Get <IRest>();

            _server = DependencyService
                      .Get <INfieldServer>();

            _sqlite = DependencyService
                      .Get <ISqliteService <SurveyDetailsEntity> >();

            _surveyCounts = DependencyService.Get <ISurveyCountsService>();
        }