public DashboardDto GetDashboardData()
        {
            DashboardDto dashboardDto = new DashboardDto();

            dashboardDto.deviceLogDtoList = _deviceLogAdapter.GetAllDeviceLog();
            dashboardDto.deviceLogDto     = _deviceLogAdapter.GetTopFirstDeviceLog();
            return(dashboardDto);
        }
Esempio n. 2
0
 public List <DeviceLogDto> GetAllDeviceLog()
 {
     return(_deviceLogAdapter.GetAllDeviceLog());
 }