Exemple #1
0
        public async void GoalData()
        {
            var _goals = await gop.GetGoals(App.ownerId);

            goals.Clear();
            foreach (var goal in _goals)
            {
                goals.Add(goal);
            }
        }
        public IActionResult GetGoals()
        {
            string clientId = Request.HttpContext.Items["ClientId"]?.ToString();

            return(Json(_goalProcessor.GetGoals(clientId)));
        }