public HttpResponseMessage GetAllCarsPosition() { var result = monitoringService.GetAllCarsPosition(); return(Success(result)); }
// GET: CarsMonitoring public ActionResult Index() { var positions = monitoringService.GetAllCarsPosition(); return(View(positions)); }