Пример #1
0
        public async Task <IActionResult> GetMainScreenHealthAsync(int Id)
        {
            //נתונים כלליים
            var response = await HealthService.GetMainScreenHealthAsync(Id);

            //התראות
            var responseAlert = await AlertService.GetAlertAsync(Id, 2);

            response.Model.ListAlertsResponse = responseAlert.Model.ToList();

            //אתרים נוספים
            return(response.ToHttpResponse());
        }