public List <Problem> GetProblemsOfDevice(int deviceId) { //return conn.GetCurrentProblemsOfDevice(id); return(_problemRepository.GetProblemsByDeviceId(deviceId)); }