public async Task LoadDashboard()
        {
            if (Dashboard == null || UserIdforCurrentSource != authSettings.Active)
            {
                Dashboard = await dashboardManager.GetDashboard();

                UserIdforCurrentSource = authSettings.Active;
            }
        }
        public async Task <AboutOrganozation> Dachboard()
        {
            if (Dashboard == null || UserIdforCurrentSource != authSettings.Active)
            {
                Dashboard = await dashboardManager.GetDashboard();

                UserIdforCurrentSource = authSettings.Active;
            }
            return(Dashboard);
        }
        public async Task <AboutOrganozation> GetDashboard()
        {
            Answer            answer    = new Answer();
            AboutOrganozation dashboard = new AboutOrganozation();

            try
            {
                answer = await networkService.NetworkRequest(NetworkService.TaskType.Getdashboard, authManager.GetAuthData(), null);

                if (answer != null && answer.ResData is JObject data)
                {
                    if (data.TryGetValue("institution", out JToken aboutOrganization))
                    {
                        aOrganization = JsonConvert.DeserializeObject <AboutOrganozation>(aboutOrganization.ToString());
                    }
                    dashboard = aOrganization;
                }
            } catch (Exception e)
            {
                System.Diagnostics.Debug.WriteLine(e.Message);
            }
            return(dashboard);
        }