public DashboardDto GetDashboardData() { DashboardDto dashboardDto = new DashboardDto(); dashboardDto.deviceLogDtoList = _deviceLogAdapter.GetAllDeviceLog(); dashboardDto.deviceLogDto = _deviceLogAdapter.GetTopFirstDeviceLog(); return(dashboardDto); }
public List <DeviceLogDto> GetAllDeviceLog() { return(_deviceLogAdapter.GetAllDeviceLog()); }