public ActionResult RoutingMeshHistory()
 {
     try
     {
         LbGetRoutingMeshHistoryRequest request = new LbGetRoutingMeshHistoryRequest(Settings.Credentials);
         LbGetRoutingMeshHistoryResponse response = EndPoints.LbDashboardService.GetRoutingMeshHistory(request);
         List<ApplicationInstance> list = new List<ApplicationInstance>();
         if (response.RoutingMeshHistory != null)
             list.AddRange(response.RoutingMeshHistory);
         return View(list);
     }
     catch (Exception e)
     {
         return ShowError(e);
     }
 }
Example #2
0
        public LbGetRoutingMeshHistoryResponse GetRoutingMeshHistory(LbGetRoutingMeshHistoryRequest request)
        {
            try
            {
                Log.Debug(this, "GetRoutingMeshHistory()");

                Authenticate(request);
                LbGetRoutingMeshHistoryResponse response = new LbGetRoutingMeshHistoryResponse();
                response.RoutingMeshHistory = Database.GetInstance().RoutingMeshHistory;
                return response;
            }
            catch (Exception e)
            {
                Log.Error(this, e);
                throw e;
            }
        }