Esempio n. 1
0
        public void GetMarkersTestOK()
        {
            GetMarkersRequest request = new GetMarkersRequest()
            {
                DocID = "1"
            };
            Response response = _service.GetMarkers(request).Result;

            Assert.IsInstanceOf(typeof(GetMarkersResponseOk), response);
        }
Esempio n. 2
0
        public IActionResult Index()
        {
            var customerID = CustomerID;
            var model      = new MapViewModel()
            {
                MarkerIcons = markerIconService.GetMarkerIcons(),
                Markers     = markerService.GetMarkers(customerID)
            };

            return(View(model));
        }
 public Response GetMarkers([FromBody] DocumentRequest documentRequest)
 {
     return(MarkerService.GetMarkers(documentRequest));
 }
        public IActionResult GetMarkers()
        {
            var response = _markerService.GetMarkers(Requestor?.User?.Id);

            return(response.GetActionResult <List <Business.Models.Marker.Marker>, List <Marker> >(this));
        }
 public async Task <Response> GetMarkers(GetMarkersRequest request)
 {
     return(await _markerService.GetMarkers(request));
 }